Show More
@@ -143,8 +143,9 class InteractiveShellTestCase(unittest.TestCase): | |||
|
143 | 143 | |
|
144 | 144 | def test_future_flags(self): |
|
145 | 145 | """Check that future flags are used for parsing code (gh-777)""" |
|
146 | ip.run_cell('from __future__ import barry_as_FLUFL') | |
|
146 | 147 | try: |
|
147 |
ip.run_cell('prfunc_return_val = |
|
|
148 | ip.run_cell('prfunc_return_val = 1 <> 2') | |
|
148 | 149 | assert 'prfunc_return_val' in ip.user_ns |
|
149 | 150 | finally: |
|
150 | 151 | # Reset compiler flags so we don't mess up other tests. |
General Comments 0
You need to be logged in to leave comments.
Login now