]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
backport gvanrossum's checkin of
authorMichael W. Hudson <mwh@python.net>
Thu, 28 Feb 2002 10:13:26 +0000 (10:13 +0000)
committerMichael W. Hudson <mwh@python.net>
Thu, 28 Feb 2002 10:13:26 +0000 (10:13 +0000)
    revision 1.7 of test_builtin

SF patch #523169, by Samuele Pedroni.

There were never tests for the fact that list() always returns a *new*
list object, even when the argument is a list, while tuple() may
return a reference to the argument when it is a tuple.  Now there are.

Lib/test/output/test_builtin

index 1c3b69c8380f3741c1be378e7a2985ad6f827851..6c1b9aa81cdc5859b7e0f0395e35073ca6521c60 100644 (file)
@@ -26,6 +26,7 @@ int
 isinstance
 issubclass
 len
+list
 long
 map
 max