We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4332803 commit 359b749Copy full SHA for 359b749
1 file changed
tests/test_future/test_futurize.py
@@ -123,6 +123,17 @@ def test_encoding_comments_kept_at_top(self):
123
"""
124
self.convert_check(before, after)
125
126
+ def test_multiline_future_import(self):
127
+ """
128
+ Issue #113: don't crash if a future import has multiple lines
129
130
+ text = """
131
+ from __future__ import (
132
+ division
133
+ )
134
135
+ self.convert(text)
136
+
137
def test_shebang_blank_with_future_division_import(self):
138
139
Issue #43: Is shebang line preserved as the first
0 commit comments