summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorTim Gates <tim.gates@iress.com>2019-12-09 17:42:17 (GMT)
committerRaymond Hettinger <rhettinger@users.noreply.github.com>2019-12-09 17:42:17 (GMT)
commitc18b805ac6a2d22176240ca93982fa1fb6559ec7 (patch)
tree5c792b87da571a008910cda11aa096c7c09edf18 /Lib
parente89e159b18cc9f32a0a4a818d080eb6a63d888a7 (diff)
downloadcpython-c18b805ac6a2d22176240ca93982fa1fb6559ec7.zip
cpython-c18b805ac6a2d22176240ca93982fa1fb6559ec7.tar.gz
cpython-c18b805ac6a2d22176240ca93982fa1fb6559ec7.tar.bz2
bpo-39002: Fix simple typo: tranlation -> translation (GH-17517)
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_statistics.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_statistics.py b/Lib/test/test_statistics.py
index bebd9b5..a9a427b 100644
--- a/Lib/test/test_statistics.py
+++ b/Lib/test/test_statistics.py
@@ -2192,7 +2192,7 @@ class TestQuantiles(unittest.TestCase):
quantiles(padded_data, n=n, method='inclusive'),
(n, data),
)
- # Invariant under tranlation and scaling
+ # Invariant under translation and scaling
def f(x):
return 3.5 * x - 1234.675
exp = list(map(f, expected))
@@ -2232,7 +2232,7 @@ class TestQuantiles(unittest.TestCase):
result = quantiles(map(datatype, data), n=n, method="inclusive")
self.assertTrue(all(type(x) == datatype) for x in result)
self.assertEqual(result, list(map(datatype, expected)))
- # Invariant under tranlation and scaling
+ # Invariant under translation and scaling
def f(x):
return 3.5 * x - 1234.675
exp = list(map(f, expected))