Lines Matching defs:test
8 import test.support
12 from test import support
67 # randomness source is not found. To test this on machines where it
68 # exists, run the above test, test_seedargs(), again after mocking
90 # no-op. The following non-deterministic test covers that. It
140 self.assertEqual(self.gen.sample([], 0), []) # test edge case N==k==0
254 # test argument handling
579 @test.support.cpython_only
587 @test.support.cpython_only
804 # Use same seed as in the cross-platform repeatability test
845 # This might be going too far to test a single line, but because of our
846 # noble aim of achieving 100% test coverage we need to write a case in
960 # We run this test on random.Random() which makes deterministic selections
1025 # Use integration to test distribution average and standard deviation.
1105 # generate test cases that provide 100% line coverage of the method.
1321 @test.support.requires_fork()