diff --git a/unit-testing.html b/unit-testing.html index 1c679b5..507d1a0 100755 --- a/unit-testing.html +++ b/unit-testing.html @@ -468,13 +468,13 @@ OK
Testing for non-integers is not difficult. First, define a NonIntegerError exception.
+
Testing for non-integers is not difficult. First, define a NotIntegerError exception.
# roman4.py
class OutOfRangeError(ValueError): pass
class NotIntegerError(ValueError): pass
-Next, write a test case that checks for the NonIntegerError exception.
+
Next, write a test case that checks for the NotIntegerError exception.
class ToRomanBadInput(unittest.TestCase):
.