#16852: test_genericpath, test_posixpath, test_ntpath, and test_macpath now work with unittest test discovery. Patch by Zachary Ware.
diff --git a/Lib/test/test_ntpath.py b/Lib/test/test_ntpath.py
index 2c9dab9..f809876 100644
--- a/Lib/test/test_ntpath.py
+++ b/Lib/test/test_ntpath.py
@@ -257,14 +257,10 @@
ntpath.sameopenfile(-1, -1)
-class NtCommonTest(test_genericpath.CommonTest):
+class NtCommonTest(test_genericpath.CommonTest, unittest.TestCase):
pathmodule = ntpath
attributes = ['relpath', 'splitunc']
-def test_main():
- support.run_unittest(TestNtpath, NtCommonTest)
-
-
if __name__ == "__main__":
unittest.main()