(self)
| 69 | self.assertRaises(TypeError, type(self.gen), []) |
| 70 | |
| 71 | def test_seed_no_mutate_bug_44018(self): |
| 72 | a = bytearray(b'1234') |
| 73 | self.gen.seed(a) |
| 74 | self.assertEqual(a, bytearray(b'1234')) |
| 75 | |
| 76 | @unittest.mock.patch('random._urandom') # os.urandom |
| 77 | def test_seed_when_randomness_source_not_found(self, urandom_mock): |
nothing calls this directly
no test coverage detected