summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2013-08-16 18:56:12 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2013-08-16 18:56:12 (GMT)
commit326ec048bf082bf136ab3d6922fa3a89bc6d5892 (patch)
tree83a308a719c89d6529f13de76148b31e791eed18 /Lib/test
parentf48a67b31781ad6059e36e5aed04fc6406c1e3a9 (diff)
downloadcpython-326ec048bf082bf136ab3d6922fa3a89bc6d5892.zip
cpython-326ec048bf082bf136ab3d6922fa3a89bc6d5892.tar.gz
cpython-326ec048bf082bf136ab3d6922fa3a89bc6d5892.tar.bz2
test_execvpe_with_bad_arglist shouldn't be in URandomTests
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/test_os.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/Lib/test/test_os.py b/Lib/test/test_os.py
index ccc58d4..bc7dfbe 100644
--- a/Lib/test/test_os.py
+++ b/Lib/test/test_os.py
@@ -581,9 +581,13 @@ class URandomTests (unittest.TestCase):
# creating any file descriptor.
resource.setrlimit(resource.RLIMIT_NOFILE, (soft_limit, hard_limit))
+
+class ExecvpeTests(unittest.TestCase):
+
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")
@@ -870,6 +874,7 @@ def test_main():
MakedirTests,
DevNullTests,
URandomTests,
+ ExecvpeTests,
Win32ErrorTests,
TestInvalidFD,
PosixUidGidTests,