Show More
@@ -949,13 +949,18 b' class PythonTest(Test):' | |||
|
949 | 949 | |
|
950 | 950 | return result |
|
951 | 951 | |
|
952 | # This script may want to drop globs from lines matching these patterns on | |
|
953 | # Windows, but check-code.py wants a glob on these lines unconditionally. Don't | |
|
954 | # warn if that is the case for anything matching these lines. | |
|
952 | # Some glob patterns apply only in some circumstances, so the script | |
|
953 | # might want to remove (glob) annotations that otherwise should be | |
|
954 | # retained. | |
|
955 | 955 | checkcodeglobpats = [ |
|
956 | # On Windows it looks like \ doesn't require a (glob), but we know | |
|
957 | # better. | |
|
956 | 958 | re.compile(br'^pushing to \$TESTTMP/.*[^)]$'), |
|
957 | 959 | re.compile(br'^moving \S+/.*[^)]$'), |
|
958 | re.compile(br'^pulling from \$TESTTMP/.*[^)]$') | |
|
960 | re.compile(br'^pulling from \$TESTTMP/.*[^)]$'), | |
|
961 | # Not all platforms have 127.0.0.1 as loopback (though most do), | |
|
962 | # so we always glob that too. | |
|
963 | re.compile(br'.*127.0.0.1.*$'), | |
|
959 | 964 | ] |
|
960 | 965 | |
|
961 | 966 | bchr = chr |
@@ -1263,6 +1268,7 b' class TTest(Test):' | |||
|
1263 | 1268 | return True |
|
1264 | 1269 | return b'-glob' |
|
1265 | 1270 | return True |
|
1271 | el = el.replace(b'127.0.0.1', b'*') | |
|
1266 | 1272 | i, n = 0, len(el) |
|
1267 | 1273 | res = b'' |
|
1268 | 1274 | while i < n: |
General Comments 0
You need to be logged in to leave comments.
Login now