From: Stefan Behnel Date: Wed, 11 Jun 2008 19:55:24 +0000 (+0200) Subject: new test cases from Pyrex X-Git-Tag: 0.9.8rc1~7^2~2 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=839a501946794dc96887fb562afd37b551ac518e;p=cython.git new test cases from Pyrex --- diff --git a/tests/errors/se_badindent.pyx b/tests/errors/se_badindent.pyx new file mode 100644 index 00000000..4376666d --- /dev/null +++ b/tests/errors/se_badindent.pyx @@ -0,0 +1,6 @@ +def f(): + a = b # space space + c = d # space tab +_ERRORS = u""" +/Local/Projects/D/Pyrex/Source/Tests/Errors1/se_badindent.pyx:3:0: Mixed use of tabs and spaces +""" diff --git a/tests/errors/se_badindent2.pyx b/tests/errors/se_badindent2.pyx new file mode 100644 index 00000000..750cb9f7 --- /dev/null +++ b/tests/errors/se_badindent2.pyx @@ -0,0 +1,7 @@ +def f(): + a = b + c = d +_ERRORS = u""" +/Local/Projects/D/Pyrex/Source/Tests/Errors1/se_badindent2.pyx:3:0: Possible inconsistent indentation +/Local/Projects/D/Pyrex/Source/Tests/Errors1/se_badindent2.pyx:3:0: Expected an identifier or literal +"""