mirror of
https://github.com/python/cpython.git
synced 2025-07-30 22:54:16 +00:00
Whitespace normalization.
This commit is contained in:
parent
426f4a1c65
commit
73a9eade1c
3 changed files with 11 additions and 11 deletions
|
@ -133,10 +133,10 @@ class DisTests(unittest.TestCase):
|
|||
|
||||
def test_big_linenos(self):
|
||||
def func(count):
|
||||
namespace = {}
|
||||
func = "def foo():\n " + "".join(["\n "] * count + ["spam\n"])
|
||||
exec func in namespace
|
||||
return namespace['foo']
|
||||
namespace = {}
|
||||
func = "def foo():\n " + "".join(["\n "] * count + ["spam\n"])
|
||||
exec func in namespace
|
||||
return namespace['foo']
|
||||
|
||||
# Test all small ranges
|
||||
for i in xrange(1, 300):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue