summaryrefslogtreecommitdiff
path: root/src/tests/test.py
diff options
context:
space:
mode:
authorstepshal <nessento@openmailbox.org>2016-10-08 17:36:47 +0700
committerstepshal <nessento@openmailbox.org>2016-10-08 17:36:47 +0700
commitbdf2692ca23347f1bdc54017b7f4e106dfa05b7f (patch)
treebe8560a4ee2c2f1a7fb9fffb9cf54fbad0db4ad2 /src/tests/test.py
parent79100259a2e8e133dcef761d13f4b5d3ba34429e (diff)
downloadpython-decorator-git-bdf2692ca23347f1bdc54017b7f4e106dfa05b7f.tar.gz
Add blank lines after code object, class of function definition.
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()