diff options
author | Thomas Heller <theller@ctypes.org> | 2007-08-31 06:45:04 (GMT) |
---|---|---|
committer | Thomas Heller <theller@ctypes.org> | 2007-08-31 06:45:04 (GMT) |
commit | 4afcfb4f0060e2ebf576c998f138363eaa893cb2 (patch) | |
tree | 9dd345697d6862a01fd31756be6b4df3222a40df /Lib/test | |
parent | 8b7a95750ac5d89a447cdde98fad5a078ac54956 (diff) | |
download | cpython-4afcfb4f0060e2ebf576c998f138363eaa893cb2.zip cpython-4afcfb4f0060e2ebf576c998f138363eaa893cb2.tar.gz cpython-4afcfb4f0060e2ebf576c998f138363eaa893cb2.tar.bz2 |
Fix test_startfile and remove duplicated test.
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/test_startfile.py | 8 |
1 files changed, 0 insertions, 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) |