Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c18b805

Browse files
timgates42rhettinger
authored andcommitted
bpo-39002: Fix simple typo: tranlation -> translation (GH-17517)
1 parent e89e159 commit c18b805

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

Lib/test/test_statistics.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2192,7 +2192,7 @@ def test_specific_cases(self):
21922192
quantiles(padded_data, n=n, method='inclusive'),
21932193
(n, data),
21942194
)
2195-
# Invariant under tranlation and scaling
2195+
# Invariant under translation and scaling
21962196
def f(x):
21972197
return 3.5 * x - 1234.675
21982198
exp = list(map(f, expected))
@@ -2232,7 +2232,7 @@ def test_specific_cases_inclusive(self):
22322232
result = quantiles(map(datatype, data), n=n, method="inclusive")
22332233
self.assertTrue(all(type(x) == datatype) for x in result)
22342234
self.assertEqual(result, list(map(datatype, expected)))
2235-
# Invariant under tranlation and scaling
2235+
# Invariant under translation and scaling
22362236
def f(x):
22372237
return 3.5 * x - 1234.675
22382238
exp = list(map(f, expected))

Misc/ACKS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1900,3 +1900,4 @@ Robert Leenders
19001900
Tim Hopper
19011901
Dan Lidral-Porter
19021902
Ngalim Siregar
1903+
Tim Gates
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix simple typo in Lib/test/test_statistics.py.

0 commit comments

Comments
 (0)