Skip to content

Commit 596cf51

Browse files
authored
bpo-46418: [Enum] simplify MODULE declaration in tests (GH-30647)
1 parent d6c6e6b commit 596cf51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_enum.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def load_tests(loader, tests, ignore):
3131
))
3232
return tests
3333

34-
MODULE = ('test.test_enum', '__main__')[__name__=='__main__']
34+
MODULE = __name__
3535
SHORT_MODULE = MODULE.split('.')[-1]
3636

3737
# for pickle tests

0 commit comments

Comments
 (0)