From 4afcfb4f0060e2ebf576c998f138363eaa893cb2 Mon Sep 17 00:00:00 2001 From: Thomas Heller Date: Fri, 31 Aug 2007 06:45:04 +0000 Subject: Fix test_startfile and remove duplicated test. --- Lib/test/test_startfile.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/Lib/test/test_startfile.py b/Lib/test/test_startfile.py index 8d80e7a..db09946 100644 --- a/Lib/test/test_startfile.py +++ b/Lib/test/test_startfile.py @@ -17,19 +17,11 @@ class TestCase(unittest.TestCase): def test_nonexisting(self): self.assertRaises(OSError, startfile, "nonexisting.vbs") - def test_nonexisting_u(self): - self.assertRaises(OSError, startfile, "nonexisting.vbs") - def test_empty(self): empty = path.join(path.dirname(__file__), "empty.vbs") startfile(empty) startfile(empty, "open") - def test_empty_u(self): - empty = path.join(path.dirname(__file__), "empty.vbs") - startfile(str(empty, "mbcs")) - startfile(str(empty, "mbcs"), "open") - def test_main(): test_support.run_unittest(TestCase) -- cgit v0.12