diff options
Diffstat (limited to 'src/tests/test.py')
-rw-r--r-- | src/tests/test.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tests/test.py b/src/tests/test.py index 4743c23..ad45ca1 100644 --- a/src/tests/test.py +++ b/src/tests/test.py @@ -137,10 +137,12 @@ class ExtraTestCase(unittest.TestCase): @example def func(**kw): + "Docstring" return kw # there is no confusion when passing args as a keyword argument self.assertEqual(func(args='a'), {'args': 'a'}) + self.assertEqual(func.__doc__, "Docstring") def test_decorator_factory(self): # similar to what IPython is doing in traitlets.config.application |