[pypy-svn] r14160 - pypy/branch/dist-2.4.1/lib-python/modified-2.4.1/test
ac at codespeak.net
ac at codespeak.net
Sun Jul 3 18:28:20 CEST 2005
Author: ac
Date: Sun Jul 3 18:28:20 2005
New Revision: 14160
Added:
pypy/branch/dist-2.4.1/lib-python/modified-2.4.1/test/test_copy.py
- copied, changed from r14133, pypy/branch/dist-2.4.1/lib-python/2.4.1/test/test_copy.py
Log:
Dissable test that don't make sens in PyPy.
Copied: pypy/branch/dist-2.4.1/lib-python/modified-2.4.1/test/test_copy.py (from r14133, pypy/branch/dist-2.4.1/lib-python/2.4.1/test/test_copy.py)
==============================================================================
--- pypy/branch/dist-2.4.1/lib-python/2.4.1/test/test_copy.py (original)
+++ pypy/branch/dist-2.4.1/lib-python/modified-2.4.1/test/test_copy.py Sun Jul 3 18:28:20 2005
@@ -166,24 +166,25 @@
x = C(42)
self.assertEqual(copy.copy(x), x)
+ # These test make no sense in PyPy
# tests for copying extension types, iff module trycopy is installed
- def test_copy_classictype(self):
- from _testcapi import make_copyable
- x = make_copyable([23])
- y = copy.copy(x)
- self.assertEqual(x, y)
- self.assertEqual(x.tag, y.tag)
- self.assert_(x is not y)
- self.assert_(x.tag is y.tag)
-
- def test_deepcopy_classictype(self):
- from _testcapi import make_copyable
- x = make_copyable([23])
- y = copy.deepcopy(x)
- self.assertEqual(x, y)
- self.assertEqual(x.tag, y.tag)
- self.assert_(x is not y)
- self.assert_(x.tag is not y.tag)
+ #def test_copy_classictype(self):
+ # from _testcapi import make_copyable
+ # x = make_copyable([23])
+ # y = copy.copy(x)
+ # self.assertEqual(x, y)
+ # self.assertEqual(x.tag, y.tag)
+ # self.assert_(x is not y)
+ # self.assert_(x.tag is y.tag)
+
+ #def test_deepcopy_classictype(self):
+ # from _testcapi import make_copyable
+ # x = make_copyable([23])
+ # y = copy.deepcopy(x)
+ # self.assertEqual(x, y)
+ # self.assertEqual(x.tag, y.tag)
+ # self.assert_(x is not y)
+ # self.assert_(x.tag is not y.tag)
# regression tests for class-vs-instance and metaclass-confusion
def test_copy_classoverinstance(self):
More information about the Pypy-commit
mailing list