]> granicus.if.org Git - python/commitdiff
Issue #19629: Add missing "import stat"
authorVictor Stinner <victor.stinner@gmail.com>
Mon, 21 Jul 2014 19:40:19 +0000 (21:40 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Mon, 21 Jul 2014 19:40:19 +0000 (21:40 +0200)
Sort also imports in support/__init__.py

Lib/test/support/__init__.py

index d321bb4d6b8a7feb6d1d1eb93204cfd1ae0f1c9c..9ec4e7c230b5d4d3430faa8e271f54ad37958c1d 100644 (file)
@@ -3,28 +3,29 @@
 if __name__ != 'test.support':
     raise ImportError('support must be imported from the test package')
 
+import collections.abc
 import contextlib
 import errno
+import fnmatch
 import functools
 import gc
-import socket
-import sys
-import os
-import platform
-import shutil
-import warnings
-import unittest
 import importlib
 import importlib.util
-import collections.abc
+import logging.handlers
+import os
+import platform
 import re
+import shutil
+import socket
+import stat
+import struct
 import subprocess
-import time
+import sys
 import sysconfig
-import fnmatch
-import logging.handlers
-import struct
 import tempfile
+import time
+import unittest
+import warnings
 
 try:
     import _thread, threading