637
638
"""Directly test the conversion of 'from foo import bar' syntax"""
639
640
def check_result(self, expected, from_strings):
641
642
for from_str in from_strings:
644
645
'Import of %r was not converted correctly'
647
648
def test_from_one_import_two(self):
648
649
self.check_result({'two':(['one'], 'two', {})},