diff options
author | William Deegan <bill@baddogconsulting.com> | 2019-12-21 23:14:58 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-21 23:14:58 (GMT) |
commit | 5a864bae1380155997f4041d607e4abcf74652ca (patch) | |
tree | 63e14c0b78e3fe22bea45c2157a78a275982e7a8 /test/Value.py | |
parent | c54f590b1d23fb93cf3d041c6502a2e01efd20ae (diff) | |
parent | 7ba3919aa8d401d07c6920c6b84dc657a381cb5e (diff) | |
download | SCons-5a864bae1380155997f4041d607e4abcf74652ca.zip SCons-5a864bae1380155997f4041d607e4abcf74652ca.tar.gz SCons-5a864bae1380155997f4041d607e4abcf74652ca.tar.bz2 |
Merge pull request #3508 from mwichmann/pc-none-syntax
checker fixes: None, trailing ws, list init
Diffstat (limited to 'test/Value.py')
-rw-r--r-- | test/Value.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/Value.py b/test/Value.py index c1f764a..8f6c7fe 100644 --- a/test/Value.py +++ b/test/Value.py @@ -102,7 +102,7 @@ for source_signature in ['MD5', 'timestamp-newer']: test.must_contain_all_lines(test.stdout(), [out1, out2, out7, out8]) #print test.stdout() - test.fail_test(re.search(out3, test.stdout()) == None) + test.fail_test(re.search(out3, test.stdout()) is None) test.must_match('f1.out', "/usr/local") test.must_match('f2.out', "10") @@ -118,7 +118,7 @@ for source_signature in ['MD5', 'timestamp-newer']: out6 = """create\\(\\["f3.out"\\], \\[<.*.Custom (instance|object) at """ #" <- unconfuses emacs syntax highlighting test.must_contain_all_lines(test.stdout(), [out4, out5]) - test.fail_test(re.search(out6, test.stdout()) == None) + test.fail_test(re.search(out6, test.stdout()) is None) test.must_match('f1.out', "/usr") test.must_match('f2.out', "4") @@ -134,7 +134,7 @@ for source_signature in ['MD5', 'timestamp-newer']: test.must_contain_all_lines(test.stdout(), [out4, out7, out8]) test.must_not_contain_any_line(test.stdout(), [out5]) - test.fail_test(re.search(out6, test.stdout()) == None) + test.fail_test(re.search(out6, test.stdout()) is None) test.up_to_date(options='prefix=/var', arguments='.') |