fix: add maxDiff attribute to test class (#7)

* 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:23:50 +02:00
committed by GitHub
co-authored by Krzysztof G.
parent 3fb2aa484b
commit 98366b1cbd
+1
View File
@@ -3,6 +3,7 @@ import prob_calculator
prob_calculator.random.seed(95) prob_calculator.random.seed(95)
class UnitTests(unittest.TestCase): class UnitTests(unittest.TestCase):
maxDiff = None
def test_hat_class_contents(self): def test_hat_class_contents(self):
hat = prob_calculator.Hat(red=3,blue=2) hat = prob_calculator.Hat(red=3,blue=2)
actual = hat.contents actual = hat.contents