mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Cleanup test_dict
* Write one import per line * Sort imports by name * Add an empty line: 2 empty lines between code blocks at the module level (PEP 8)
This commit is contained in:
parent
843a1fb1e7
commit
5ebe2c89fe
1 changed files with 8 additions and 5 deletions
|
@ -1,10 +1,12 @@
|
|||
import unittest
|
||||
from test import support
|
||||
|
||||
import collections, random, string
|
||||
import collections
|
||||
import collections.abc
|
||||
import gc, weakref
|
||||
import gc
|
||||
import pickle
|
||||
import random
|
||||
import string
|
||||
import unittest
|
||||
import weakref
|
||||
from test import support
|
||||
|
||||
|
||||
class DictTest(unittest.TestCase):
|
||||
|
@ -963,5 +965,6 @@ class Dict(dict):
|
|||
class SubclassMappingTests(mapping_tests.BasicTestMappingProtocol):
|
||||
type2test = Dict
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
unittest.main()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue