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:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user