From 692d292c635daaadd68e568020d647208db1cffe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Sun, 26 Jan 2003 11:32:44 +0000 Subject: [PATCH] Test that True can be copied. --- Lib/test/test_copy_reg.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Lib/test/test_copy_reg.py b/Lib/test/test_copy_reg.py index 08c7031920c..4104dab8e5c 100644 --- a/Lib/test/test_copy_reg.py +++ b/Lib/test/test_copy_reg.py @@ -21,6 +21,10 @@ def test_noncallable_constructor(self): 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)