Commit 831575c1 authored by Stefan Behnel's avatar Stefan Behnel

fix doctest

parent 717df790
...@@ -102,12 +102,8 @@ def test_kwdefaults(value): ...@@ -102,12 +102,8 @@ def test_kwdefaults(value):
>>> cy_kwonly_default_args.__kwdefaults__ >>> cy_kwonly_default_args.__kwdefaults__
{'b': 2} {'b': 2}
>>> if IS_PY3: test_kwdefaults.__defaults__ is None >>> test_kwdefaults.__defaults__
... else: print(True) >>> test_kwdefaults.__kwdefaults__
True
>>> test_kwdefaults.__kwdefaults__ is None
... else: print(True)
True
>>> f = test_kwdefaults(5) >>> f = test_kwdefaults(5)
>>> f.__defaults__ >>> f.__defaults__
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment