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:36 -05:00 committed by GitHub
parent c1b30742b7
commit 8664d33b17
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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)