summaryrefslogtreecommitdiff
path: root/src/tests/test.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/test.py')
-rw-r--r--src/tests/test.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tests/test.py b/src/tests/test.py
index 5bd34e8..da6bb73 100644
--- a/src/tests/test.py
+++ b/src/tests/test.py
@@ -92,6 +92,7 @@ class ExtraTestCase(unittest.TestCase):
# there is no confusion when passing args as a keyword argument
self.assertEqual(func(args='a'), {'args': 'a'})
+
# ################### test dispatch_on ############################# #
# adapted from test_functools in Python 3.5
singledispatch = dispatch_on('obj')
@@ -410,5 +411,6 @@ class TestSingleDispatch(unittest.TestCase):
with assertRaises(RuntimeError):
h(u)
+
if __name__ == '__main__':
unittest.main()