Merge pull request #123 from ktdreyer/pytest-2.3-compat
tests: add pytest 2.3 compatibility
This commit is contained in:
@@ -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 = []
|
||||
|
||||
Reference in New Issue
Block a user