diff options
| author | Martin Panter <vadmium+py@gmail.com> | 2016-06-02 10:07:09 (GMT) |
|---|---|---|
| committer | Martin Panter <vadmium+py@gmail.com> | 2016-06-02 10:07:09 (GMT) |
| commit | e26da7c03a714faa115fe6b708ef0730119aa4b3 (patch) | |
| tree | 26d6a9584ddde0d84f1011fe87662b3b84a39428 /Lib/test/test_random.py | |
| parent | 1b207c55a446ab8b8bae2efc8407ee130ba62012 (diff) | |
| download | cpython-e26da7c03a714faa115fe6b708ef0730119aa4b3.zip cpython-e26da7c03a714faa115fe6b708ef0730119aa4b3.tar.gz cpython-e26da7c03a714faa115fe6b708ef0730119aa4b3.tar.bz2 | |
Issue #27171: Fix typos in documentation, comments, and test function names
Diffstat (limited to 'Lib/test/test_random.py')
| -rw-r--r-- | Lib/test/test_random.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_random.py b/Lib/test/test_random.py index 4b5232f..5393431 100644 --- a/Lib/test/test_random.py +++ b/Lib/test/test_random.py @@ -494,7 +494,7 @@ class MersenneTwister_TestBasicOps(TestBasicOps, unittest.TestCase): self.assertTrue(2**k > n > 2**(k-1)) # note the stronger assertion @unittest.mock.patch('random.Random.random') - def test_randbelow_overriden_random(self, random_mock): + def test_randbelow_overridden_random(self, random_mock): # Random._randbelow() can only use random() when the built-in one # has been overridden but no new getrandbits() method was supplied. random_mock.side_effect = random.SystemRandom().random |
