Commit 5194d1ec authored by Fred Drake's avatar Fred Drake

Import the nested_scopes feature twice, to exercise the patch introduced

to avoid segfaults when more than one feature is named in the future
statement.

This tests for regression of SF bug #407394.
parent eff5dc61
"""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):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment