Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4afcfb4

Browse files
author
Thomas Heller
committed
Fix test_startfile and remove duplicated test.
1 parent 8b7a957 commit 4afcfb4

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

Lib/test/test_startfile.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,11 @@ class TestCase(unittest.TestCase):
1717
def test_nonexisting(self):
1818
self.assertRaises(OSError, startfile, "nonexisting.vbs")
1919

20-
def test_nonexisting_u(self):
21-
self.assertRaises(OSError, startfile, "nonexisting.vbs")
22-
2320
def test_empty(self):
2421
empty = path.join(path.dirname(__file__), "empty.vbs")
2522
startfile(empty)
2623
startfile(empty, "open")
2724

28-
def test_empty_u(self):
29-
empty = path.join(path.dirname(__file__), "empty.vbs")
30-
startfile(str(empty, "mbcs"))
31-
startfile(str(empty, "mbcs"), "open")
32-
3325
def test_main():
3426
test_support.run_unittest(TestCase)
3527

0 commit comments

Comments
 (0)