summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_enum.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_enum.py')
-rw-r--r--Lib/test/test_enum.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_enum.py b/Lib/test/test_enum.py
index a0953fb..18cc2f3 100644
--- a/Lib/test/test_enum.py
+++ b/Lib/test/test_enum.py
@@ -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