summaryrefslogtreecommitdiff
path: root/ext/pybind11/tests/test_pickling.py
diff options
context:
space:
mode:
Diffstat (limited to 'ext/pybind11/tests/test_pickling.py')
-rw-r--r--ext/pybind11/tests/test_pickling.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/pybind11/tests/test_pickling.py b/ext/pybind11/tests/test_pickling.py
index 5e62e1fcc..548c618af 100644
--- a/ext/pybind11/tests/test_pickling.py
+++ b/ext/pybind11/tests/test_pickling.py
@@ -1,3 +1,5 @@
+import pytest
+
try:
import cPickle as pickle # Use cPickle on Python 2.7
except ImportError:
@@ -18,6 +20,7 @@ def test_roundtrip():
assert p2.extra2() == p.extra2()
+@pytest.unsupported_on_pypy
def test_roundtrip_with_dict():
from pybind11_tests import PickleableWithDict