[Patches] [ python-Patches-523169 ] tests for simple list() and tuple(TUPLE)
noreply@sourceforge.net
noreply@sourceforge.net
Tue, 26 Feb 2002 14:39:49 -0800
Patches item #523169, was opened at 2002-02-26 14:27
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=523169&group_id=5470
Category: Tests
Group: None
>Status: Closed
>Resolution: Accepted
Priority: 5
Submitted By: Samuele Pedroni (pedronis)
>Assigned to: Guido van Rossum (gvanrossum)
Summary: tests for simple list() and tuple(TUPLE)
Initial Comment:
Strange as it may seem,
the test suite has never explicitely checked
for the basic behavior of list(seq),
here is a patch with tests for that
(to go in Lib/test/test_b1.py)
in particular it tests that
list(LIST) is not LIST
PLUS a changed test for
tuple, checking that
tuple(TUPLE) is TUPLE
(to go in Lib/test/test_b2.py)
Enjoy, Samuele Pedroni.
----------------------------------------------------------------------
>Comment By: Guido van Rossum (gvanrossum)
Date: 2002-02-26 14:39
Message:
Logged In: YES
user_id=6380
Thanks! Applied.
----------------------------------------------------------------------
Comment By: Samuele Pedroni (pedronis)
Date: 2002-02-26 14:28
Message:
Logged In: YES
user_id=61408
test_b2.patch
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=523169&group_id=5470