Commit 3edde364 authored by Joseph Siddons's avatar Joseph Siddons
Browse files

chore: format

parent 02b6e70e
...@@ -30,11 +30,11 @@ class TestFindNearest(unittest.TestCase): ...@@ -30,11 +30,11 @@ class TestFindNearest(unittest.TestCase):
def test_sorted_warn(self): def test_sorted_warn(self):
with self.assertWarns(SortedWarning): with self.assertWarns(SortedWarning):
find_nearest([1., 2., 3.], 2.3, check_sorted=False) find_nearest([1.0, 2.0, 3.0], 2.3, check_sorted=False)
def test_sorted_error(self): def test_sorted_error(self):
with self.assertRaises(SortedError): with self.assertRaises(SortedError):
find_nearest([3., 1., 2.], 2.3) find_nearest([3.0, 1.0, 2.0], 2.3)
if __name__ == "__main__": if __name__ == "__main__":
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment