======================================================================
ERROR: test_mod_divide_by_zero (__main__.CalculatorTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/shuhsi/github/TDD-kata/test_calc.py", line 22, in test_mod_divide_by_zero
assertRaises(ZeroDivisionError, cal.mod, 7, 1)
NameError: global name 'assertRaises' is not defined
======================================================================
FAIL: test_mod_without_remainder (__main__.CalculatorTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/shuhsi/github/TDD-kata/test_calc.py", line 18, in test_mod_without_remainder
self.assertEqual(cal.mod(8, 4), (1, 0))
AssertionError: Tuples differ: (2, 0) != (1, 0)
First differing element 0:
2
1
- (2, 0)
? ^
+ (1, 0)
? ^
----------------------------------------------------------------------
Ran 3 tests in 0.009s
FAILED (failures=1, errors=1)
Show difference
error