summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/test_unpack.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_unpack.py b/test/test_unpack.py
index 8d0d949..c0d711c 100644
--- a/test/test_unpack.py
+++ b/test/test_unpack.py
@@ -16,7 +16,7 @@ def test_unpack_array_header_from_file():
unpacker.unpack()
-@mark.skipif(not hasattr(sys, 'getrefcount'),
+@mark.skipif("not hasattr(sys, 'getrefcount') == True",
reason='sys.getrefcount() is needed to pass this test')
def test_unpacker_hook_refcnt():
result = []