(self)
| 642 | |
| 643 | @test.support.cpython_only |
| 644 | def test_bug_42008(self): |
| 645 | # _random.Random should call seed with first element of arg tuple |
| 646 | import _random |
| 647 | r1 = _random.Random() |
| 648 | r1.seed(8675309) |
| 649 | r2 = _random.Random(8675309) |
| 650 | self.assertEqual(r1.random(), r2.random()) |
| 651 | |
| 652 | |
| 653 | class MersenneTwister_TestBasicOps(TestBasicOps, unittest.TestCase): |
nothing calls this directly
no test coverage detected