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:36 +02:00
committed by GitHub
co-authored by Krzysztof G.
parent c1b30742b7
commit 8664d33b17
+1
View File
@@ -3,6 +3,7 @@ import shape_calculator
class UnitTests(unittest.TestCase): class UnitTests(unittest.TestCase):
maxDiff = None
def setUp(self): def setUp(self):
self.rect = shape_calculator.Rectangle(3, 6) self.rect = shape_calculator.Rectangle(3, 6)
self.sq = shape_calculator.Square(5) self.sq = shape_calculator.Square(5)