Esempio n. 1
0
 def test_importfrom_star_relative(self):
     binding = StarImportation('.b', None)
     assert binding.source_statement == 'from .b import *'
     assert str(binding) == '.b.*'
Esempio n. 2
0
 def test_importfrom_star_relative(self):
     binding = StarImportation(".b", None)
     assert binding.source_statement == "from .b import *"
     assert str(binding) == ".b.*"