Skip to content

Commit

Permalink
bpo-46418: [Enum] simplify MODULE declaration in tests (GH-30647)
Browse files Browse the repository at this point in the history
  • Loading branch information
sobolevn committed Jan 17, 2022
1 parent d6c6e6b commit 596cf51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/test/test_enum.py
Expand Up @@ -31,7 +31,7 @@ def load_tests(loader, tests, ignore):
))
return tests

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

# for pickle tests
Expand Down

0 comments on commit 596cf51

Please sign in to comment.