Lint codebase

Summary: Lint codebase

Reviewed By: bottler

Differential Revision: D29263057

fbshipit-source-id: ac97f01d2a79fead3b09c2cbb21b50ce688a577d
This commit is contained in:
Patrick Labatut
2021-06-22 03:44:27 -07:00
committed by Facebook GitHub Bot
parent ce60d4b00e
commit 7e43f29d52
7 changed files with 7 additions and 10 deletions

View File

@@ -110,7 +110,7 @@ class TestCaseMixin(unittest.TestCase):
diff = norm_fn(input - other)
other_ = norm_fn(other)
# We want to generalise allclose(input, output), which is essentially
# We want to generalize allclose(input, output), which is essentially
# all(diff <= atol + rtol * other)
# but with a sophisticated handling non-finite values.
# We work that around by calling allclose() with the following arguments: