]> granicus.if.org Git - python/commitdiff
Fix test_startfile and remove duplicated test.
authorThomas Heller <theller@ctypes.org>
Fri, 31 Aug 2007 06:45:04 +0000 (06:45 +0000)
committerThomas Heller <theller@ctypes.org>
Fri, 31 Aug 2007 06:45:04 +0000 (06:45 +0000)
Lib/test/test_startfile.py

index 8d80e7af95cf089e39331ed836c452298deb2fcb..db099461023bbe24754739820e847607758db867 100644 (file)
@@ -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)