[Python-3000-checkins] r57817 - python/branches/py3k/Lib/test/test_startfile.py

thomas.heller python-3000-checkins at python.org
Fri Aug 31 08:45:05 CEST 2007


Author: thomas.heller
Date: Fri Aug 31 08:45:04 2007
New Revision: 57817

Modified:
   python/branches/py3k/Lib/test/test_startfile.py
Log:
Fix test_startfile and remove duplicated test.

Modified: python/branches/py3k/Lib/test/test_startfile.py
==============================================================================
--- python/branches/py3k/Lib/test/test_startfile.py	(original)
+++ python/branches/py3k/Lib/test/test_startfile.py	Fri Aug 31 08:45:04 2007
@@ -17,19 +17,11 @@
     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)
 


More information about the Python-3000-checkins mailing list