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:
parent
a303dcb3be
commit
d89e146c4b
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user