fix: add maxDiff attribute to test class (#5)

* Adding maxDiff=None per issue 45473

* Update test_module.py to match styling

Co-authored-by: Krzysztof G. <[email protected]>

Co-authored-by: Krzysztof G. <[email protected]>
This commit is contained in:
Amela
2022-04-24 21:21:32 +02:00
committed by GitHub
co-authored by Krzysztof G.
parent a303dcb3be
commit d89e146c4b
+1 -1
View File
@@ -3,7 +3,7 @@ from time_calculator import add_time
class UnitTests(unittest.TestCase): class UnitTests(unittest.TestCase):
maxDiff = None
def test_same_period(self): def test_same_period(self):
actual = add_time("3:30 PM", "2:12") actual = add_time("3:30 PM", "2:12")
expected = "5:42 PM" expected = "5:42 PM"