Skip to content

Commit b5fc0df

Browse files
graingertpicnixz
andcommitted
sort logging import
Co-Authored-By: Bénédikt Tran <[email protected]>
1 parent 36bba4e commit b5fc0df

File tree

5 files changed

+6
-5
lines changed

5 files changed

+6
-5
lines changed

Lib/test/support/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
import contextlib
77
import functools
88
import inspect
9+
import logging
910
import _opcode
1011
import os
1112
import re
@@ -17,7 +18,6 @@
1718
import types
1819
import unittest
1920
import warnings
20-
import logging
2121

2222

2323
__all__ = [

Lib/test/support/os_helper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import logging
21
import collections.abc
32
import contextlib
43
import errno
4+
import logging
55
import os
66
import re
77
import stat

Lib/test/test_decimal.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
you're working through IDLE, you can import this test module and call test()
2424
with the corresponding argument.
2525
"""
26+
2627
import logging
2728
import math
2829
import os, sys

Lib/test/test_interpreters/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import logging
21
from collections import namedtuple
32
import contextlib
43
import json
4+
import logging
55
import os
66
import os.path
77
#import select

Lib/test/test_socket.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
import unittest
2-
import warnings
32
from test import support
43
from test.support import (
5-
is_apple, os_helper, refleak_helper, socket_helper, threading_helper,
4+
is_apple, os_helper, refleak_helper, socket_helper, threading_helper
65
)
76
import _thread as thread
87
import array
@@ -28,6 +27,7 @@
2827
import threading
2928
import time
3029
import traceback
30+
import warnings
3131
from weakref import proxy
3232
try:
3333
import multiprocessing

0 commit comments

Comments
 (0)