From e4e9a6b493782e9702f8f76b3727806903733be2 Mon Sep 17 00:00:00 2001 From: maxkoryukov Date: Wed, 3 Feb 2016 18:25:57 +0500 Subject: [PATCH] bug in test --- headphones/unittestcompat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/headphones/unittestcompat.py b/headphones/unittestcompat.py index a9cc03a2..d77c6a16 100644 --- a/headphones/unittestcompat.py +++ b/headphones/unittestcompat.py @@ -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):