mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
parent
f4fd0bf7c1
commit
e9fbf2b943
3 changed files with 10 additions and 0 deletions
|
@ -505,6 +505,9 @@ class URandomTests (unittest.TestCase):
|
|||
except NotImplementedError:
|
||||
pass
|
||||
|
||||
def test_execvpe_with_bad_arglist(self):
|
||||
self.assertRaises(ValueError, os.execvpe, 'notepad', [], None)
|
||||
|
||||
class Win32ErrorTests(unittest.TestCase):
|
||||
def test_rename(self):
|
||||
self.assertRaises(WindowsError, os.rename, test_support.TESTFN, test_support.TESTFN+".bak")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue