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:
Victor Stinner 2016-01-23 13:52:05 +01:00
parent 843a1fb1e7
commit 5ebe2c89fe

View file

@ -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()