mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
#11093: make NOTTESTS empty by renaming confusingly named files in test dir.
Patch by Sandro Tosi.
This commit is contained in:
parent
b588f8dd9f
commit
576483085c
4 changed files with 7 additions and 10 deletions
11
Lib/test/future_test1.py
Normal file
11
Lib/test/future_test1.py
Normal file
|
@ -0,0 +1,11 @@
|
|||
"""This is a test"""
|
||||
|
||||
# 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):
|
||||
return x + y
|
||||
return g
|
||||
|
||||
result = f(2)(4)
|
Loading…
Add table
Add a link
Reference in a new issue