summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_dospath.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_dospath.py')
-rw-r--r--Lib/test/test_dospath.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/Lib/test/test_dospath.py b/Lib/test/test_dospath.py
index 74bdd4a..3cca159 100644
--- a/Lib/test/test_dospath.py
+++ b/Lib/test/test_dospath.py
@@ -53,4 +53,9 @@ class DOSPathTestCase(unittest.TestCase):
self.assertEquals(splitdrive("c:"), ('c:', ''))
-test_support.run_unittest(DOSPathTestCase)
+def test_main():
+ test_support.run_unittest(DOSPathTestCase)
+
+
+if __name__ == "__main__":
+ test_main()