[Python-checkins] cpython (2.7): Avoid testing stuff that's been fixed in 2.7 on older Pythons

antoine.pitrou python-checkins at python.org
Tue Oct 4 12:03:47 CEST 2011


http://hg.python.org/cpython/rev/05c58e0873f0
changeset:   72646:05c58e0873f0
branch:      2.7
parent:      72641:64053bd79590
user:        Antoine Pitrou <solipsis at pitrou.net>
date:        Tue Oct 04 12:00:13 2011 +0200
summary:
  Avoid testing stuff that's been fixed in 2.7 on older Pythons

files:
  Lib/test/test_xpickle.py |  4 ++++
  1 files changed, 4 insertions(+), 0 deletions(-)


diff --git a/Lib/test/test_xpickle.py b/Lib/test/test_xpickle.py
--- a/Lib/test/test_xpickle.py
+++ b/Lib/test/test_xpickle.py
@@ -154,6 +154,10 @@
     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.

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list