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)