From: Thomas Heller Date: Fri, 31 Aug 2007 06:45:04 +0000 (+0000) Subject: Fix test_startfile and remove duplicated test. X-Git-Tag: v3.0a1~20 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4afcfb4f0060e2ebf576c998f138363eaa893cb2;p=thirdparty%2FPython%2Fcpython.git Fix test_startfile and remove duplicated test. --- diff --git a/Lib/test/test_startfile.py b/Lib/test/test_startfile.py index 8d80e7af95cf..db099461023b 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)