From 5a969756b14dffd2b1138527a14dc6b8da63594f Mon Sep 17 00:00:00 2001 From: Robert Bradshaw Date: Sat, 17 Oct 2009 02:04:04 -0700 Subject: [PATCH] some test fixes --- tests/errors/e_cdef_keywords_T241.pyx | 4 ++-- tests/errors/nogil.pyx | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/tests/errors/e_cdef_keywords_T241.pyx b/tests/errors/e_cdef_keywords_T241.pyx index 179434bd..e8289aaa 100644 --- a/tests/errors/e_cdef_keywords_T241.pyx +++ b/tests/errors/e_cdef_keywords_T241.pyx @@ -14,6 +14,6 @@ a.some_method(1, 2) a.some_method(1, y=2) _ERRORS = u""" -9:13: Keyword arguments not allowed in cdef functions. -14:13: Keyword arguments not allowed in cdef functions. +9:13: Keyword and starred arguments not allowed in cdef functions. +14:13: Keyword and starred arguments not allowed in cdef functions. """ diff --git a/tests/errors/nogil.pyx b/tests/errors/nogil.pyx index a16386ce..f0c5dfa3 100644 --- a/tests/errors/nogil.pyx +++ b/tests/errors/nogil.pyx @@ -116,9 +116,7 @@ _ERRORS = u""" 39: 9: Constructing Python tuple not allowed without gil 40: 8: Constructing Python list not allowed without gil 41: 8: Constructing Python dict not allowed without gil -42:12: Creating temporary Python reference not allowed without gil 42:12: Truth-testing Python object not allowed without gil -42:17: Creating temporary Python reference not allowed without gil 43:13: Python type test not allowed without gil 45:10: Operation not allowed without gil 46:8: Operation not allowed without gil -- 2.26.2