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. <60067306+gikf@users.noreply.github.com>

Co-authored-by: Krzysztof G. <60067306+gikf@users.noreply.github.com>
This commit is contained in:
Amela 2022-04-24 14:21:32 -05:00 committed by GitHub
parent a303dcb3be
commit d89e146c4b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,7 +3,7 @@ from time_calculator import add_time
class UnitTests(unittest.TestCase):
maxDiff = None
def test_same_period(self):
actual = add_time("3:30 PM", "2:12")
expected = "5:42 PM"