Skip to content

Commit 1a44bc4

Browse files
committed
Greatly simplify test_traceback_timestamps
1 parent 5e81269 commit 1a44bc4

File tree

6 files changed

+284
-807
lines changed

6 files changed

+284
-807
lines changed

Lib/test/test_traceback_timestamps/__init__.py

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,10 @@
22

33

44
def load_tests(loader, tests, pattern):
5-
"""Load all tests from the package."""
65
import unittest
7-
from . import (
8-
test_basic,
9-
test_pickle,
10-
test_user_exceptions,
11-
test_timestamp_presence,
12-
)
6+
from . import test_basic, test_pickle
137

148
suite = unittest.TestSuite()
15-
16-
# Add tests from all modules
179
suite.addTests(loader.loadTestsFromModule(test_basic))
1810
suite.addTests(loader.loadTestsFromModule(test_pickle))
19-
suite.addTests(loader.loadTestsFromModule(test_user_exceptions))
20-
suite.addTests(loader.loadTestsFromModule(test_timestamp_presence))
21-
2211
return suite

Lib/test/test_traceback_timestamps/shared_utils.py

Lines changed: 0 additions & 211 deletions
This file was deleted.

0 commit comments

Comments
 (0)