summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2014-07-21 19:40:55 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2014-07-21 19:40:55 (GMT)
commit41323e7483b2d273d1d53cfba4bc92c6697b960e (patch)
tree7c5793b5c5b12d2aea2b6d24766ef4d1713ecc36 /Lib
parent963b4bab5296da961e0d240756233bd016f90e62 (diff)
parent47ae763d2897bf8a2d11b6f7d49ef79df6ef92be (diff)
downloadcpython-41323e7483b2d273d1d53cfba4bc92c6697b960e.zip
cpython-41323e7483b2d273d1d53cfba4bc92c6697b960e.tar.gz
cpython-41323e7483b2d273d1d53cfba4bc92c6697b960e.tar.bz2
(Merge 3.4) Issue #19629: Add missing "import stat"
Sort also imports in support/__init__.py
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/support/__init__.py25
1 files changed, 13 insertions, 12 deletions
diff --git a/Lib/test/support/__init__.py b/Lib/test/support/__init__.py
index d321bb4..9ec4e7c 100644
--- a/Lib/test/support/__init__.py
+++ b/Lib/test/support/__init__.py
@@ -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