File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -132,13 +132,13 @@ def test_separate_future_imports():
132132 found = pydev_monkey ._separate_future_imports ("""from __future__ import (\n print_function);print(1)""" )
133133 assert found == ("from __future__ import (\n print_function);" , "print(1)" )
134134
135- found = pydev_monkey ._separate_future_imports (""""line";from __future__ import (\n \n print_function, absolute_imports \n );print(1)""" )
136- assert found == ('"line";from __future__ import (\n \n print_function, absolute_imports \n );' , "print(1)" )
135+ found = pydev_monkey ._separate_future_imports (""""line";from __future__ import (\n \n print_function, absolute_import \n );print(1)""" )
136+ assert found == ('"line";from __future__ import (\n \n print_function, absolute_import \n );' , "print(1)" )
137137
138138 found = pydev_monkey ._separate_future_imports (
139- """from __future__ import bar \n from __future__ import (\n \n print_function, absolute_imports \n );print(1)"""
139+ """from __future__ import division \n from __future__ import (\n \n print_function, absolute_import \n );print(1)"""
140140 )
141- assert found == ("from __future__ import bar \n from __future__ import (\n \n print_function, absolute_imports \n );" , "print(1)" )
141+ assert found == ("from __future__ import division \n from __future__ import (\n \n print_function, absolute_import \n );" , "print(1)" )
142142
143143
144144def test_monkey_patch_args_indc_future_import ():
You can’t perform that action at this time.
0 commit comments