summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorINADA Naoki <methane@users.noreply.github.com>2015-01-24 17:30:21 +0900
committerINADA Naoki <methane@users.noreply.github.com>2015-01-24 17:30:21 +0900
commitc43fb48724049dc35c34fd389091e384dec46bb8 (patch)
treeecab4fddd4e8775968c65689f4ad155fbbe606d4
parent5025b51d3bd77a681576fcfb9cec8fe1ba5cce34 (diff)
parentf40fdf523a545035d3f6ee36a31d50993feac14b (diff)
downloadmsgpack-python-c43fb48724049dc35c34fd389091e384dec46bb8.tar.gz
Merge pull request #123 from ktdreyer/pytest-2.3-compat
tests: add pytest 2.3 compatibility
-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 = []