From 839a501946794dc96887fb562afd37b551ac518e Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Wed, 11 Jun 2008 21:55:24 +0200 Subject: [PATCH] new test cases from Pyrex --- tests/errors/se_badindent.pyx | 6 ++++++ tests/errors/se_badindent2.pyx | 7 +++++++ 2 files changed, 13 insertions(+) create mode 100644 tests/errors/se_badindent.pyx create mode 100644 tests/errors/se_badindent2.pyx 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 +""" -- 2.26.2