Avoid testing stuff that's been fixed in 2.7 on older Pythons

This commit is contained in:
Antoine Pitrou 2011-10-04 12:00:13 +02:00
parent 561a821e93
commit 09debc9a5b

View file

@ -154,6 +154,10 @@ class AbstractCompatTests(AbstractPickleTests):
def test_unicode_high_plane(self):
pass
# This tests a fix that's in 2.7 only
def test_dynamic_class(self):
pass
if test_support.have_unicode:
# This is a cut-down version of pickletester's test_unicode. Backwards
# compatibility was explicitly broken in r67934 to fix a bug.