##// END OF EJS Templates
Fix bug where 'if 1:' was being added to comment-only code....
Fix bug where 'if 1:' was being added to comment-only code. Found by trying to paste and run this example: http://matplotlib.sourceforge.net/examples/api/collections_demo.html that happened to have indented, comment-only lines of the type: code() # comment code() In these cases, we should *not* try to prepend 'if 1:' to the user's code since that comment by itself isn't executable, and it will cause a compiler IndentationError.
Fernando Perez -
r2979:63d38bdf
Show More
Name Size Modified Last Commit Author
/ IPython / kernel / tests
__init__.py Loading ...
controllertest.py Loading ...
engineservicetest.py Loading ...
multienginetest.py Loading ...
tasktest.py Loading ...
test_controllerservice.py Loading ...
test_enginefc.py Loading ...
test_engineservice.py Loading ...
test_multiengine.py Loading ...
test_multienginefc.py Loading ...
test_newserialized.py Loading ...
test_pendingdeferred.py Loading ...
test_task.py Loading ...
test_taskfc.py Loading ...
test_twistedutil.py Loading ...