mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
bpo-46418: [Enum] simplify MODULE
declaration in tests (GH-30647)
This commit is contained in:
parent
d6c6e6ba73
commit
596cf51a4d
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue