mirror of
https://github.com/python/cpython.git
synced 2025-08-30 21:48:47 +00:00
#2621 rename test.test_support to test.support
This commit is contained in:
parent
6a654814ea
commit
ee8712cda4
358 changed files with 1308 additions and 1307 deletions
|
@ -1,7 +1,7 @@
|
|||
# Check every path through every method of UserList
|
||||
|
||||
from collections import UserList
|
||||
from test import test_support, list_tests
|
||||
from test import support, list_tests
|
||||
|
||||
class UserListTest(list_tests.CommonTest):
|
||||
type2test = UserList
|
||||
|
@ -53,7 +53,7 @@ class UserListTest(list_tests.CommonTest):
|
|||
self.assertEqual(next(iter(T((1,2)))), "0!!!")
|
||||
|
||||
def test_main():
|
||||
test_support.run_unittest(UserListTest)
|
||||
support.run_unittest(UserListTest)
|
||||
|
||||
if __name__ == "__main__":
|
||||
test_main()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue