summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_dynamicclassattribute.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_dynamicclassattribute.py')
-rw-r--r--Lib/test/test_dynamicclassattribute.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/Lib/test/test_dynamicclassattribute.py b/Lib/test/test_dynamicclassattribute.py
index bc6a39b..9f694d9 100644
--- a/Lib/test/test_dynamicclassattribute.py
+++ b/Lib/test/test_dynamicclassattribute.py
@@ -4,7 +4,6 @@
import abc
import sys
import unittest
-from test.support import run_unittest
from types import DynamicClassAttribute
class PropertyBase(Exception):
@@ -297,8 +296,5 @@ class PropertySubclassTests(unittest.TestCase):
-def test_main():
- run_unittest(PropertyTests, PropertySubclassTests)
-
if __name__ == '__main__':
- test_main()
+ unittest.main()