]> granicus.if.org Git - python/commitdiff
test_execvpe_with_bad_arglist shouldn't be in URandomTests
authorAntoine Pitrou <solipsis@pitrou.net>
Fri, 16 Aug 2013 18:56:12 +0000 (20:56 +0200)
committerAntoine Pitrou <solipsis@pitrou.net>
Fri, 16 Aug 2013 18:56:12 +0000 (20:56 +0200)
Lib/test/test_os.py

index ccc58d4fbb72e74ef5dc45a463bfeaa5f96dfcfa..bc7dfbea056c8c12d86933ee432cfb273dbc7079 100644 (file)
@@ -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,