diff --git a/unit-testing.html b/unit-testing.html index c836dee..625252a 100755 --- a/unit-testing.html +++ b/unit-testing.html @@ -406,7 +406,7 @@ FAILED (failures=2)

[download roman3.py]

def to_roman(n):
     '''convert integer to Roman numeral'''
-    if not (0 < n < 4000):                                              
+    if not (0 < n < 4000):                                              
         raise OutOfRangeError('number out of range (must be 0..3999)')  
 
     result = ''
@@ -494,7 +494,7 @@ FAILED (failures=1)
def to_roman(n):
     '''convert integer to Roman numeral'''
-    if not (0 < n < 4000):
+    if not (0 < n < 4000):
         raise OutOfRangeError('number out of range (must be 0..3999)')
     if not isinstance(n, int):                                          
         raise NotIntegerError('non-integers can not be converted')