Commits

Michał Górny committed eb963f4

Finally actually fix Python 3.3.

Comments (0)

Files changed (1)

gentoopm/tests/__init__.py

 
 	def loadTestsFromModule(self, mod):
 		if isinstance(mod, str):
-			mod = __import__(mod, fromlist=['.'], level=2)
+			mod = __import__(mod, globals=globals(),
+					fromlist=['.'], level=0)
 		return unittest.TestLoader.loadTestsFromModule(self, mod)
 
 class PackageNames(object):