From: Stefan Behnel Date: Tue, 25 May 2010 08:11:01 +0000 (+0200) Subject: renamed test case X-Git-Tag: 0.13.beta0~2^2~47 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0948e79c7c13ad3d48ead3fc1d934d5aa910f933;p=cython.git renamed test case --- diff --git a/tests/run/all.pyx b/tests/run/all.pyx index 29b75614..54959f44 100644 --- a/tests/run/all.pyx +++ b/tests/run/all.pyx @@ -203,24 +203,24 @@ def all_in_typed_gen(seq): @cython.test_fail_if_path_exists("//SimpleCallNode", "//YieldExprNode", "//IfStatNode//CoerceToBooleanNode") -def all_in_nested_gen(seq): +def all_in_double_gen(seq): """ >>> all(x for L in [[1,1,1],[1,1,1],[1,1,1]] for x in L) True - >>> all_in_nested_gen([[1,1,1],[1,1,1],[1,1,1]]) + >>> all_in_double_gen([[1,1,1],[1,1,1],[1,1,1]]) True >>> all(x for L in [[1,1,1],[1,1,1],[1,1,0]] for x in L) False - >>> all_in_nested_gen([[1,1,1],[1,1,1],[1,1,0]]) + >>> all_in_double_gen([[1,1,1],[1,1,1],[1,1,0]]) False >>> all(x for L in [[1,1,1],[0,1,1],[1,1,1]] for x in L) False - >>> all_in_nested_gen([[1,1,1],[0,1,1],[1,1,1]]) + >>> all_in_double_gen([[1,1,1],[0,1,1],[1,1,1]]) False - >>> all_in_nested_gen([VerboseGetItem([1,1,1]), VerboseGetItem([1,1,1,1,1])]) + >>> all_in_double_gen([VerboseGetItem([1,1,1]), VerboseGetItem([1,1,1,1,1])]) 0 1 2 @@ -232,7 +232,7 @@ def all_in_nested_gen(seq): 4 5 True - >>> all_in_nested_gen([VerboseGetItem([1,1,1]),VerboseGetItem([1,1]),VerboseGetItem([1,1,0])]) + >>> all_in_double_gen([VerboseGetItem([1,1,1]),VerboseGetItem([1,1]),VerboseGetItem([1,1,0])]) 0 1 2 diff --git a/tests/run/any.pyx b/tests/run/any.pyx index 1621e66d..9c8ce510 100644 --- a/tests/run/any.pyx +++ b/tests/run/any.pyx @@ -194,19 +194,19 @@ def any_in_typed_gen(seq): @cython.test_fail_if_path_exists("//SimpleCallNode", "//YieldExprNode", "//IfStatNode//CoerceToBooleanNode") -def any_in_nested_gen(seq): +def any_in_double_gen(seq): """ >>> any(x for L in [[0,0,0],[0,0,1],[0,0,0]] for x in L) True - >>> any_in_nested_gen([[0,0,0],[0,0,1],[0,0,0]]) + >>> any_in_double_gen([[0,0,0],[0,0,1],[0,0,0]]) True >>> any(x for L in [[0,0,0],[0,0,0],[0,0,0]] for x in L) False - >>> any_in_nested_gen([[0,0,0],[0,0,0],[0,0,0]]) + >>> any_in_double_gen([[0,0,0],[0,0,0],[0,0,0]]) False - >>> any_in_nested_gen([VerboseGetItem([0,0,0]), VerboseGetItem([0,0,1,0,0])]) + >>> any_in_double_gen([VerboseGetItem([0,0,0]), VerboseGetItem([0,0,1,0,0])]) 0 1 2 @@ -215,7 +215,7 @@ def any_in_nested_gen(seq): 1 2 True - >>> any_in_nested_gen([VerboseGetItem([0,0,0]),VerboseGetItem([0,0]),VerboseGetItem([0,0,0])]) + >>> any_in_double_gen([VerboseGetItem([0,0,0]),VerboseGetItem([0,0]),VerboseGetItem([0,0,0])]) 0 1 2