aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/test/test_strop.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_strop.py')
-rw-r--r--Lib/test/test_strop.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/Lib/test/test_strop.py b/Lib/test/test_strop.py
index 7a32e08707f..e26f08fc94f 100644
--- a/Lib/test/test_strop.py
+++ b/Lib/test/test_strop.py
@@ -125,4 +125,9 @@ class Sequence:
def __getitem__(self, i): return self.seq[i]
-test_support.run_unittest(StropFunctionTestCase)
+def test_main():
+ test_support.run_unittest(StropFunctionTestCase)
+
+
+if __name__ == "__main__":
+ test_main()