Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Lib/test/test_asyncio/__main__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from . import load_tests
from . import load_tests # noqa: F401
import unittest

unittest.main()
2 changes: 1 addition & 1 deletion Lib/test/test_ctypes/__main__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from test.test_ctypes import load_tests
from test.test_ctypes import load_tests # noqa: F401
import unittest

unittest.main()
2 changes: 1 addition & 1 deletion Lib/test/test_email/__main__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from test.test_email import load_tests
from test.test_email import load_tests # noqa: F401
import unittest

unittest.main()
2 changes: 1 addition & 1 deletion Lib/test/test_idle.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

# Unittest.main and test.libregrtest.runtest.runtest_inner
# call load_tests, when present here, to discover tests to run.
from idlelib.idle_test import load_tests
from idlelib.idle_test import load_tests # noqa: F401

if __name__ == '__main__':
tk.NoDefaultRoot()
Expand Down
2 changes: 1 addition & 1 deletion Lib/test/test_interpreters/__main__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from . import load_tests
from . import load_tests # noqa: F401
import unittest

unittest.main()
2 changes: 1 addition & 1 deletion Lib/test/test_json/__main__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import unittest
from test.test_json import load_tests
from test.test_json import load_tests # noqa: F401

unittest.main()
2 changes: 1 addition & 1 deletion Lib/test/test_peg_generator/__main__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import unittest
from . import load_tests
from . import load_tests # noqa: F401

unittest.main()
2 changes: 1 addition & 1 deletion Lib/test/test_pyrepl/__main__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import unittest
from test.test_pyrepl import load_tests
from test.test_pyrepl import load_tests # noqa: F401

unittest.main()
2 changes: 1 addition & 1 deletion Lib/test/test_sqlite3/__main__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from test.test_sqlite3 import load_tests # Needed for the "load tests" protocol.
from test.test_sqlite3 import load_tests # noqa: F401
import unittest

unittest.main()
2 changes: 1 addition & 1 deletion Lib/test/test_tkinter/__main__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from . import load_tests
from . import load_tests # noqa: F401
import unittest

unittest.main()
4 changes: 1 addition & 3 deletions Lib/test/test_tomllib/__main__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
import unittest

from . import load_tests

from . import load_tests # noqa: F401

unittest.main()
2 changes: 1 addition & 1 deletion Lib/test/test_tools/__main__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from test.test_tools import load_tests
from test.test_tools import load_tests # noqa: F401
import unittest

unittest.main()
2 changes: 1 addition & 1 deletion Lib/test/test_ttk/__main__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from . import load_tests
from . import load_tests # noqa: F401
import unittest

unittest.main()
2 changes: 1 addition & 1 deletion Lib/test/test_unittest/__main__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from . import load_tests
from . import load_tests # noqa: F401
import unittest

unittest.main()