diff options
Diffstat (limited to 'Lib/test/test_dircache.py')
-rw-r--r-- | Lib/test/test_dircache.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Lib/test/test_dircache.py b/Lib/test/test_dircache.py index 6d57dcf..95dc2af 100644 --- a/Lib/test/test_dircache.py +++ b/Lib/test/test_dircache.py @@ -65,4 +65,10 @@ class DircacheTests(unittest.TestCase): dircache.annotate(self.tempdir, lst) self.assertEquals(lst, ['A/', 'test2', 'test_nonexistent']) -run_unittest(DircacheTests) + +def test_main(): + run_unittest(DircacheTests) + + +if __name__ == "__main__": + test_main() |