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