Issue #19629: Add missing "import stat"

Sort also imports in support/__init__.py
This commit is contained in:
Victor Stinner 2014-07-21 21:40:19 +02:00
parent ec86469ca3
commit 47ae763d28
1 changed files with 14 additions and 13 deletions

View File

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