mirror of
https://github.com/python/cpython.git
synced 2025-08-24 10:45:53 +00:00
Move UserList to collections.
This commit is contained in:
parent
4513ef8b7a
commit
53dbe39b46
14 changed files with 133 additions and 143 deletions
|
@ -254,7 +254,7 @@ class MiscTest(unittest.TestCase):
|
|||
|
||||
def test_recursion(self):
|
||||
# Check that comparison for recursive objects fails gracefully
|
||||
from UserList import UserList
|
||||
from collections import UserList
|
||||
a = UserList()
|
||||
b = UserList()
|
||||
a.append(b)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue