diff options
author | Min ho Kim <minho42@gmail.com> | 2019-08-31 06:21:19 +1000 |
---|---|---|
committer | Terry Jan Reedy <tjreedy@udel.edu> | 2019-08-30 16:21:19 -0400 |
commit | 39d87b54715197ca9dcb6902bb43461c0ed701a2 (patch) | |
tree | 778362acb785069882291e2e39f64fd395d73889 /Lib/test/test_statistics.py | |
parent | 15119bc2a7e902ae1c6988556c3bef3de87fa789 (diff) | |
download | cpython-git-39d87b54715197ca9dcb6902bb43461c0ed701a2.tar.gz |
Fix typos mostly in comments, docs and test names (GH-15209)
Diffstat (limited to 'Lib/test/test_statistics.py')
-rw-r--r-- | Lib/test/test_statistics.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_statistics.py b/Lib/test/test_statistics.py index 23dd96e365..01b317c328 100644 --- a/Lib/test/test_statistics.py +++ b/Lib/test/test_statistics.py @@ -1810,13 +1810,13 @@ class TestMode(NumericTestCase, AverageMixin, UnivariateTypeMixin): # Test mode with bimodal data. data = [1, 1, 2, 2, 2, 2, 3, 4, 5, 6, 6, 6, 6, 7, 8, 9, 9] assert data.count(2) == data.count(6) == 4 - # mode() should return 2, the first encounted mode + # mode() should return 2, the first encountered mode self.assertEqual(self.func(data), 2) def test_unique_data(self): # Test mode when data points are all unique. data = list(range(10)) - # mode() should return 0, the first encounted mode + # mode() should return 0, the first encountered mode self.assertEqual(self.func(data), 0) def test_none_data(self): |