| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent c36cd7c commit c8fae1c
4 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3,7 +3,6 @@ | |||
| 3 | 3 | import filecmp | |
| 4 | 4 | import importlib.util | |
| 5 | 5 | import io | |
| 6 | - import itertools | ||
| 7 | 6 | import os | |
| 8 | 7 | import pathlib | |
| 9 | 8 | import py_compile | |
@@ -24,9 +23,8 @@ | |||
| 24 | 23 | ||
| 25 | 24 | from test import support | |
| 26 | 25 | from test.support import script_helper | |
| 27 | - | ||
| 28 | - from .test_py_compile import without_source_date_epoch | ||
| 29 | - from .test_py_compile import SourceDateEpochTestMeta | ||
| 26 | + from test.test_py_compile import without_source_date_epoch | ||
| 27 | + from test.test_py_compile import SourceDateEpochTestMeta | ||
| 30 | 28 | ||
| 31 | 29 | ||
| 32 | 30 | def get_pyc(script, opt): | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -7,7 +7,7 @@ | |||
| 7 | 7 | ||
| 8 | 8 | import distutils.tests | |
| 9 | 9 | import test.support | |
| 10 | - | ||
| 10 | + import unittest | ||
| 11 | 11 | ||
| 12 | 12 | def load_tests(*_): | |
| 13 | 13 | # used by unittest | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -170,4 +170,4 @@ class SystemTapOptimizedTests(TraceTests, unittest.TestCase): | |||
| 170 | 170 | ||
| 171 | 171 | ||
| 172 | 172 | if __name__ == '__main__': | |
| 173 | - test_main() | ||
| 173 | + unittest.main() | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -6,7 +6,7 @@ | |||
| 6 | 6 | from test import support | |
| 7 | 7 | import unittest | |
| 8 | 8 | import unittest.test | |
| 9 | - from .test_result import BufferedWriter | ||
| 9 | + from unittest.test.test_result import BufferedWriter | ||
| 10 | 10 | ||
| 11 | 11 | ||
| 12 | 12 | class Test_TestProgram(unittest.TestCase): | |
| Back | FazBrowse Home | New Git URL |
0 commit comments