Commits

Michał Górny committed 975fd2d

setup.py test: reload gentoopm to respect build-dir more.

Comments (0)

Files changed (1)

 	def run(self):
 		sys.path.insert(0, self.build_lib)
 
+		try:
+			from imp import reload
+		except ImportError:
+			pass
+		reload(sys.modules['gentoopm'])
+
 		import unittest
 		import gentoopm.submodules, gentoopm.tests