From: Finn B. <bc...@us...> - 2002-03-11 12:54:32
|
Update of /cvsroot/jython/bugtests In directory usw-pr-cvs1:/tmp/cvs-serv7285 Added Files: test355.py Log Message: Test for [ 522558 ] list() is broken. Samuele have already been added a better testcase to the CPython testsuite, but for consistency I'll add it here as well. --- NEW FILE: test355.py --- """ [ 522558 ] list() is broken """ import support L = [1, 2, 3] L2 = list(L) L2.insert(0, 4) if L == L2: raise support.TestError('list() should create a copy') |