Exemplo n.º 1
0
 def testFindModule(self):
     with pytest.raises(ImportError):
         dep.find_module('no-such.-thing')
     with pytest.raises(ImportError):
         dep.find_module('setuptools.non-existent')
     f, p, i = dep.find_module('setuptools.tests')
     f.close()
Exemplo n.º 2
0
 def testFindModule(self):
     with pytest.raises(ImportError):
         dep.find_module('no-such.-thing')
     with pytest.raises(ImportError):
         dep.find_module('setuptools.non-existent')
     f, p, i = dep.find_module('setuptools.tests')
     f.close()
Exemplo n.º 3
0
 def testFindModule(self):
     self.assertRaises(ImportError, dep.find_module, 'no-such.-thing')
     self.assertRaises(ImportError, dep.find_module,
                       'setuptools.non-existent')
     f, p, i = dep.find_module('setuptools.tests')
     f.close()
Exemplo n.º 4
0
 def testFindModule(self):
     self.assertRaises(ImportError, dep.find_module, 'no-such.-thing')
     self.assertRaises(ImportError, dep.find_module, 'setuptools.non-existent')
     f,p,i = dep.find_module('setuptools.tests')
     f.close()
Exemplo n.º 5
0
 def testFindModule(self):
     self.assertRaises(ImportError, find_module, "no-such.-thing")
     self.assertRaises(ImportError, find_module, "setuptools.non-existent")
     f, p, i = find_module("setuptools.tests")
     f.close()