projects
/
platform
/
upstream
/
python-cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
717df79
)
fix doctest
author
Stefan Behnel
<stefan_ml@behnel.de>
Fri, 29 Mar 2013 17:52:49 +0000
(18:52 +0100)
committer
Stefan Behnel
<stefan_ml@behnel.de>
Fri, 29 Mar 2013 17:52:49 +0000
(18:52 +0100)
tests/run/cyfunction_defaults.pyx
patch
|
blob
|
history
diff --git
a/tests/run/cyfunction_defaults.pyx
b/tests/run/cyfunction_defaults.pyx
index
f032e1e
..
42209a6
100644
(file)
--- a/
tests/run/cyfunction_defaults.pyx
+++ b/
tests/run/cyfunction_defaults.pyx
@@
-102,12
+102,8
@@
def test_kwdefaults(value):
>>> cy_kwonly_default_args.__kwdefaults__
{'b': 2}
- >>> if IS_PY3: test_kwdefaults.__defaults__ is None
- ... else: print(True)
- True
- >>> test_kwdefaults.__kwdefaults__ is None
- ... else: print(True)
- True
+ >>> test_kwdefaults.__defaults__
+ >>> test_kwdefaults.__kwdefaults__
>>> f = test_kwdefaults(5)
>>> f.__defaults__