new test cases from Pyrex
authorStefan Behnel <scoder@users.berlios.de>
Wed, 11 Jun 2008 19:55:24 +0000 (21:55 +0200)
committerStefan Behnel <scoder@users.berlios.de>
Wed, 11 Jun 2008 19:55:24 +0000 (21:55 +0200)
tests/errors/se_badindent.pyx [new file with mode: 0644]
tests/errors/se_badindent2.pyx [new file with mode: 0644]

diff --git a/tests/errors/se_badindent.pyx b/tests/errors/se_badindent.pyx
new file mode 100644 (file)
index 0000000..4376666
--- /dev/null
@@ -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 (file)
index 0000000..750cb9f
--- /dev/null
@@ -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
+"""