summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/test/output/test_future1
-rwxr-xr-xLib/test/regrtest.py1
-rw-r--r--Lib/test/test_future.py3
3 files changed, 5 insertions, 0 deletions
diff --git a/Lib/test/output/test_future b/Lib/test/output/test_future
index 4631489..127517d 100644
--- a/Lib/test/output/test_future
+++ b/Lib/test/output/test_future
@@ -1,6 +1,7 @@
test_future
6
6
+2
SyntaxError badsyntax_future3 3
SyntaxError badsyntax_future4 3
SyntaxError badsyntax_future5 4
diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py
index 4c7b4be..6a4b7fd 100755
--- a/Lib/test/regrtest.py
+++ b/Lib/test/regrtest.py
@@ -214,6 +214,7 @@ NOTTESTS = [
'test_b2',
'test_future1',
'test_future2',
+ 'test_future3',
]
def findtests(testdir=None, stdtests=STDTESTS, nottests=NOTTESTS):
diff --git a/Lib/test/test_future.py b/Lib/test/test_future.py
index ba0763b..764584c 100644
--- a/Lib/test/test_future.py
+++ b/Lib/test/test_future.py
@@ -17,6 +17,9 @@ import test_future1
unload('test_future2')
import test_future2
+unload('test_future3')
+import test_future3
+
# The remaining tests should fail
try:
import badsyntax_future3