summaryrefslogtreecommitdiffstats
path: root/test/Value.py
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2019-12-21 23:14:58 (GMT)
committerGitHub <noreply@github.com>2019-12-21 23:14:58 (GMT)
commit5a864bae1380155997f4041d607e4abcf74652ca (patch)
tree63e14c0b78e3fe22bea45c2157a78a275982e7a8 /test/Value.py
parentc54f590b1d23fb93cf3d041c6502a2e01efd20ae (diff)
parent7ba3919aa8d401d07c6920c6b84dc657a381cb5e (diff)
downloadSCons-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.py6
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='.')