summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2019-12-13 13:49:34 +1100
committerDamien George <damien.p.george@gmail.com>2019-12-13 14:20:47 +1100
commit624f4ca39bbbf9c89fce24f4051dcdd9417e59b1 (patch)
tree960e466f82d81f22cc22bd29b0fb29b5bae2bd1a
parent4da763fc49af5d7c6bbcd1af89135320022bffd0 (diff)
tests: Add .exp files for basics/parser and import/import_override.
Because CPython 3.8.0 now produces different output: - basics/parser.py: CPython does not allow '\\\n' as input. - import/import_override: CPython imports _io.
-rw-r--r--tests/basics/parser.py.exp3
-rw-r--r--tests/import/import_override.py.exp2
2 files changed, 5 insertions, 0 deletions
diff --git a/tests/basics/parser.py.exp b/tests/basics/parser.py.exp
new file mode 100644
index 000000000..4d9886a09
--- /dev/null
+++ b/tests/basics/parser.py.exp
@@ -0,0 +1,3 @@
+SyntaxError
+SyntaxError
+SyntaxError
diff --git a/tests/import/import_override.py.exp b/tests/import/import_override.py.exp
new file mode 100644
index 000000000..365248da6
--- /dev/null
+++ b/tests/import/import_override.py.exp
@@ -0,0 +1,2 @@
+import import1b None 0
+456