diff options
Diffstat (limited to 'fable.py')
-rw-r--r-- | fable.py | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -30,3 +30,9 @@ class Run: def end(self): sys.stdout.write('OK: {}\n'.format(self._name)) + + +def assertEqual(a, b): + if a != b: + raise Exception( + 'expected {!r} == {!r}, but was disappointed'.format(a, b)) |