diff options
Diffstat (limited to 'tests/test_runner_apps/sample/doctests.py')
| -rw-r--r-- | tests/test_runner_apps/sample/doctests.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_runner_apps/sample/doctests.py b/tests/test_runner_apps/sample/doctests.py index 8707ecaf86..a657d9bdf3 100644 --- a/tests/test_runner_apps/sample/doctests.py +++ b/tests/test_runner_apps/sample/doctests.py @@ -32,6 +32,7 @@ def factorial(n): """ import math + if not n >= 0: raise ValueError("n must be >= 0") if math.floor(n) != n: |
