From 98366b1cbd3e30c36fca094b9947fdc7f328987f Mon Sep 17 00:00:00 2001 From: Amela <61305137+akalezic@users.noreply.github.com> Date: Sun, 24 Apr 2022 14:23:50 -0500 Subject: [PATCH] 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> --- test_module.py | 1 + 1 file changed, 1 insertion(+) diff --git a/test_module.py b/test_module.py index a92a116..739ce7b 100644 --- a/test_module.py +++ b/test_module.py @@ -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