示例#1
0
 def test_import_submodule(self):
     binding = SubmoduleImportation('a.b', None)
     assert binding.source_statement == 'import a.b'
     assert str(binding) == 'a.b'
示例#2
0
 def test_import_submodule(self):
     binding = SubmoduleImportation("a.b", None)
     assert binding.source_statement == "import a.b"
     assert str(binding) == "a.b"