diff options
author | Gaurav Juvekar <gauravjuvekar@gmail.com> | 2017-04-10 19:06:39 (GMT) |
---|---|---|
committer | Gaurav Juvekar <gauravjuvekar@gmail.com> | 2017-04-10 19:06:39 (GMT) |
commit | 550fcc144495dfd8569831e2a0996b4e134549f8 (patch) | |
tree | 2fdba20032ed0b9191cd85608135fd9d3efb78ea /src/engine/SCons/Node | |
parent | 31383c850bc278c11c6020ce3f0704a402584a2d (diff) | |
download | SCons-550fcc144495dfd8569831e2a0996b4e134549f8.zip SCons-550fcc144495dfd8569831e2a0996b4e134549f8.tar.gz SCons-550fcc144495dfd8569831e2a0996b4e134549f8.tar.bz2 |
Fix broken tests
Diffstat (limited to 'src/engine/SCons/Node')
-rw-r--r-- | src/engine/SCons/Node/PythonTests.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/engine/SCons/Node/PythonTests.py b/src/engine/SCons/Node/PythonTests.py index e2e36bf..346542b 100644 --- a/src/engine/SCons/Node/PythonTests.py +++ b/src/engine/SCons/Node/PythonTests.py @@ -90,15 +90,15 @@ class ValueTestCase(unittest.TestCase): """ v1 = SCons.Node.Python.Value('aaa') csig = v1.get_csig(None) - assert csig == 'aaa', csig + assert csig.decode() == 'aaa', csig v2 = SCons.Node.Python.Value(7) csig = v2.get_csig(None) - assert csig == '7', csig + assert csig.decode() == '7', csig v3 = SCons.Node.Python.Value(None) csig = v3.get_csig(None) - assert csig == 'None', csig + assert csig.decode() == 'None', csig class ValueNodeInfoTestCase(unittest.TestCase): def test___init__(self): |