diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2014-07-21 19:40:19 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2014-07-21 19:40:19 (GMT) |
commit | 47ae763d2897bf8a2d11b6f7d49ef79df6ef92be (patch) | |
tree | 394daa4839326f84b83c926d15711a72c03378a3 /Lib | |
parent | ec86469ca31436c30c4dec717d4bdc72323c832e (diff) | |
download | cpython-47ae763d2897bf8a2d11b6f7d49ef79df6ef92be.zip cpython-47ae763d2897bf8a2d11b6f7d49ef79df6ef92be.tar.gz cpython-47ae763d2897bf8a2d11b6f7d49ef79df6ef92be.tar.bz2 |
Issue #19629: Add missing "import stat"
Sort also imports in support/__init__.py
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/support/__init__.py | 25 |
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 |