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