summaryrefslogtreecommitdiff
path: root/fable.py
diff options
context:
space:
mode:
Diffstat (limited to 'fable.py')
-rw-r--r--fable.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/fable.py b/fable.py
index 71c949a..18ac72d 100644
--- a/fable.py
+++ b/fable.py
@@ -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))