summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClaudiu Popa <pcmanticore@gmail.com>2015-11-04 13:18:38 +0200
committerClaudiu Popa <pcmanticore@gmail.com>2015-11-04 13:18:38 +0200
commite95781ae23b53a1c3808d974fd3886af26cb5dc7 (patch)
treeb0f27db84f71a15b6e4ef7828a8e1a652c27b9bf
parent40e76853a21f990d5e95426a9f02bf469e1bd5a3 (diff)
downloadpylint-e95781ae23b53a1c3808d974fd3886af26cb5dc7.tar.gz
Fix the test to work on both Python versions.
-rw-r--r--pylint/test/functional/too_many_nested_blocks.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pylint/test/functional/too_many_nested_blocks.py b/pylint/test/functional/too_many_nested_blocks.py
index 8d371dd..47dbf44 100644
--- a/pylint/test/functional/too_many_nested_blocks.py
+++ b/pylint/test/functional/too_many_nested_blocks.py
@@ -28,7 +28,7 @@ def my_function():
while True:
if True:
if True:
- print i
+ yield i
nested_func()