Commit 4cda388a authored by Tres Seaver's avatar Tres Seaver

Merge pull request #17 from zopefoundation/fix-pypy3

fix test___setstate___interns_dict_keys failure on pypy3
parents 9d1f8e77 1794782a
......@@ -5,7 +5,9 @@ python:
- 2.7
- 3.2
- 3.3
- 3.4
- pypy
- pypy3
install:
- pip install . --use-mirrors
script:
......
......@@ -14,6 +14,12 @@
import os
import unittest
import platform
import sys
py_impl = getattr(platform, 'python_implementation', lambda: None)
_is_pypy3 = py_impl() == 'PyPy' and sys.version_info[0] > 2
class _Persistent_Base(object):
def _makeOne(self, *args, **kw):
......@@ -863,6 +869,7 @@ class _Persistent_Base(object):
self.assertEqual(inst.baz, 'bam')
self.assertEqual(inst.qux, 'spam')
if not _is_pypy3:
def test___setstate___interns_dict_keys(self):
class Derived(self._getTargetClass()):
pass
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment