Skip to content

Commit c43fb48

Browse files
committed
Merge pull request #123 from ktdreyer/pytest-2.3-compat
tests: add pytest 2.3 compatibility
2 parents 5025b51 + f40fdf5 commit c43fb48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_unpack.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def test_unpack_array_header_from_file():
1616
unpacker.unpack()
1717

1818

19-
@mark.skipif(not hasattr(sys, 'getrefcount'),
19+
@mark.skipif("not hasattr(sys, 'getrefcount') == True",
2020
reason='sys.getrefcount() is needed to pass this test')
2121
def test_unpacker_hook_refcnt():
2222
result = []

0 commit comments

Comments
 (0)