summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_random.py
diff options
context:
space:
mode:
authorKyle Stanley <aeros167@gmail.com>2019-07-22 18:14:07 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2019-07-22 18:14:07 (GMT)
commit83cec020ba177fa27727330ba4ccf60eebc22a54 (patch)
tree926a6a42d1464f8040bbf044b49918cdef1277c0 /Lib/test/test_random.py
parent5d3d0f382f6663fcb8b426a62ef3a4cbd9a938d6 (diff)
downloadcpython-83cec020ba177fa27727330ba4ccf60eebc22a54.zip
cpython-83cec020ba177fa27727330ba4ccf60eebc22a54.tar.gz
cpython-83cec020ba177fa27727330ba4ccf60eebc22a54.tar.bz2
[3.7] Fix typos in docs, comments and test assert messages (GH-14872). (#14901)
(cherry picked from commit 96e12d5f4f3c5a20986566038ee763dff3c228a1) Co-authored-by: Min ho Kim <minho42@gmail.com>
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 f0822cd..6b9e905 100644
--- a/Lib/test/test_random.py
+++ b/Lib/test/test_random.py
@@ -228,7 +228,7 @@ class TestBasicOps:
choices([], cum_weights=[], k=5)
def test_choices_subnormal(self):
- # Subnormal weights would occassionally trigger an IndexError
+ # Subnormal weights would occasionally trigger an IndexError
# in choices() when the value returned by random() was large
# enough to make `random() * total` round up to the total.
# See https://bugs.python.org/msg275594 for more detail.