summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_future1.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_future1.py')
-rw-r--r--Lib/test/test_future1.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/Lib/test/test_future1.py b/Lib/test/test_future1.py
index 0589661..b0d2a5c 100644
--- a/Lib/test/test_future1.py
+++ b/Lib/test/test_future1.py
@@ -1,5 +1,7 @@
"""This is a test"""
-from __future__ import nested_scopes
+
+# Import the name nested_scopes twice to trigger SF bug #407394 (regression).
+from __future__ import nested_scopes, nested_scopes
def f(x):
def g(y):