Commit 692d292c authored by Martin v. Löwis's avatar Martin v. Löwis

Test that True can be copied.

parent 9789aefa
......@@ -21,6 +21,10 @@ class CopyRegTestCase(unittest.TestCase):
self.assertRaises(TypeError, copy_reg.pickle,
type(1), int, "not a callable")
def test_bool(self):
import copy
self.assertEquals(True, copy.copy(True))
def test_main():
test_support.run_unittest(CopyRegTestCase)
......
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