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>
main
Amela 2 years ago committed by GitHub
parent 3fb2aa484b
commit 98366b1cbd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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

Loading…
Cancel
Save