MCPcopy Index your code
hub / github.com/python/cpython / test_nonexisting

Method test_nonexisting

Lib/test/test_startfile.py:23–24  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

21@unittest.skipIf(platform.win32_is_iot(), "starting files is not supported on Windows IoT Core or nanoserver")
22class TestCase(unittest.TestCase):
23 def test_nonexisting(self):
24 self.assertRaises(OSError, startfile, "nonexisting.vbs")
25
26 def test_empty(self):
27 # We need to make sure the child process starts in a directory

Callers

nothing calls this directly

Calls 1

assertRaisesMethod · 0.95

Tested by

no test coverage detected