From 6df5a29f63bd26dc3b4f5b9d4e2c613c1ca77b03 Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Sun, 3 Aug 2008 14:39:40 +0200 Subject: [PATCH] new test case that is broken as of rev 908 --- tests/run/builtinnames.pyx | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 tests/run/builtinnames.pyx diff --git a/tests/run/builtinnames.pyx b/tests/run/builtinnames.pyx new file mode 100644 index 00000000..ca41bbce --- /dev/null +++ b/tests/run/builtinnames.pyx @@ -0,0 +1,28 @@ +__doc__ = u""" +>>> test_c(u'abc') +fileabc +typeabc +>>> print test_file_py(u'abc') +abc +>>> print range(u'abc') +rangeabc +""" + + +def test_file_py(file): + return file + +cdef test_file_c(file): + return u'file' + file + + +def range(arg): + return u'range' + arg + +cdef type(arg): + return u'type' + arg + + +def test_c(arg): + print test_file_c(arg) + print type(arg) -- 2.26.2