mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
Issue #27171: Fix typos in documentation, comments, and test function names
This commit is contained in:
parent
1b207c55a4
commit
e26da7c03a
30 changed files with 51 additions and 51 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue