summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_copy.py
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2003-06-14 07:10:06 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2003-06-14 07:10:06 (GMT)
commitba8f5ff76c8e0aa7767a9a7c59f25a2db95f5d57 (patch)
tree36e39c502c9580d8d466b28ddca87d82cdfc8f85 /Lib/test/test_copy.py
parentc1aa8dceb74b82610df1dcd9f4a8215c3c1d6117 (diff)
downloadcpython-ba8f5ff76c8e0aa7767a9a7c59f25a2db95f5d57.zip
cpython-ba8f5ff76c8e0aa7767a9a7c59f25a2db95f5d57.tar.gz
cpython-ba8f5ff76c8e0aa7767a9a7c59f25a2db95f5d57.tar.bz2
Copy builtin functions as atomic. Fixes #746304. Will backport to 2.2.
Diffstat (limited to 'Lib/test/test_copy.py')
-rw-r--r--Lib/test/test_copy.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_copy.py b/Lib/test/test_copy.py
index a53f988..3d44304 100644
--- a/Lib/test/test_copy.py
+++ b/Lib/test/test_copy.py
@@ -84,7 +84,7 @@ class TestCopy(unittest.TestCase):
pass
tests = [None, 42, 2L**100, 3.14, True, False, 1j,
"hello", u"hello\u1234", f.func_code,
- NewStyle, xrange(10), Classic]
+ NewStyle, xrange(10), Classic, max]
for x in tests:
self.assert_(copy.copy(x) is x, `x`)
@@ -257,7 +257,7 @@ class TestCopy(unittest.TestCase):
pass
tests = [None, 42, 2L**100, 3.14, True, False, 1j,
"hello", u"hello\u1234", f.func_code,
- NewStyle, xrange(10), Classic]
+ NewStyle, xrange(10), Classic, max]
for x in tests:
self.assert_(copy.deepcopy(x) is x, `x`)