diff options
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_itertools.py | 4 | ||||
-rw-r--r-- | Lib/test/test_posix.py | 6 |
2 files changed, 0 insertions, 10 deletions
diff --git a/Lib/test/test_itertools.py b/Lib/test/test_itertools.py index a0a740f..f028bd5 100644 --- a/Lib/test/test_itertools.py +++ b/Lib/test/test_itertools.py @@ -739,10 +739,6 @@ class TestBasicOps(unittest.TestCase): c.__setstate__((tuple('defg'), 0)) take(20, c) - # The second argument in the setstate tuple must be an int - with self.assertRaises(TypeError): - cycle('defg').__setstate__((list('abcdefg'), 'x')) - self.assertRaises(TypeError, cycle('').__setstate__, ()) self.assertRaises(TypeError, cycle('').__setstate__, ([],)) diff --git a/Lib/test/test_posix.py b/Lib/test/test_posix.py index 442dec8..77f42f7 100644 --- a/Lib/test/test_posix.py +++ b/Lib/test/test_posix.py @@ -1646,12 +1646,6 @@ class _PosixSpawnMixin: ) support.wait_process(pid, exitcode=0) - def test_resetids_wrong_type(self): - with self.assertRaises(TypeError): - self.spawn_func(sys.executable, - [sys.executable, "-c", "pass"], - os.environ, resetids=None) - def test_setpgroup(self): pid = self.spawn_func( sys.executable, |