bug in test

This commit is contained in:
maxkoryukov
2016-02-03 18:25:57 +05:00
parent c50ee144df
commit e4e9a6b493

View File

@@ -38,7 +38,7 @@ class TestCase(TC):
if not _dummy:
return super(TestCase, self).assertIsNotNone(val, msg)
tst = val is not None
return super(TestCase, self).assertTrue(val, msg)
return super(TestCase, self).assertTrue(tst, msg)
class _TestCaseRaiseStub:
def __init__(self, exc, tc):