projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32f7cd0
)
fix testcase
author
Lisandro Dalcin
<dalcinl@gmail.com>
Fri, 9 Apr 2010 05:10:56 +0000
(
02:10
-0300)
committer
Lisandro Dalcin
<dalcinl@gmail.com>
Fri, 9 Apr 2010 05:10:56 +0000
(
02:10
-0300)
tests/run/dict_get.pyx
patch
|
blob
|
history
diff --git
a/tests/run/dict_get.pyx
b/tests/run/dict_get.pyx
index d5d905e567cced62fe350d2d244efdbd855fc366..3df021761e0c5c53bc0b5242405f57eea577bfc6 100644
(file)
--- a/
tests/run/dict_get.pyx
+++ b/
tests/run/dict_get.pyx
@@
-84,7
+84,7
@@
def get_default(dict d, key, default):
def get_in_condition(dict d, key, expected_result):
"""
>>> d = dict(a=1, b=2)
- >>> get
item
_in_condition(d, 'a', 1)
+ >>> get_in_condition(d, 'a', 1)
True
"""
return d.get(key) is expected_result