summaryrefslogtreecommitdiff
path: root/Lib/test/test_random.py
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2016-06-02 10:11:18 +0000
committerMartin Panter <vadmium+py@gmail.com>2016-06-02 10:11:18 +0000
commit0b7d84de6b3ec5264392e3bf7d3900b003cbeffd (patch)
tree12987b101c150c8f44514c5a1421f3fa168c82d4 /Lib/test/test_random.py
parentfa6de5cddf9cd2029b7c2a0fe8b4c5ef27a1273e (diff)
parente26da7c03a714faa115fe6b708ef0730119aa4b3 (diff)
downloadcpython-git-0b7d84de6b3ec5264392e3bf7d3900b003cbeffd.tar.gz
Issue #27171: Merge typo fixes from 3.5
Diffstat (limited to 'Lib/test/test_random.py')
-rw-r--r--Lib/test/test_random.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_random.py b/Lib/test/test_random.py
index 4b5232fe21..5393431ff6 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