Remove files generated by testCompileModules.
authorArfrever Frehtes Taifersar Arahesis <Arfrever@Gentoo.Org>
Fri, 13 Aug 2010 14:28:22 +0000 (16:28 +0200)
committerArfrever Frehtes Taifersar Arahesis <Arfrever@Gentoo.Org>
Fri, 13 Aug 2010 14:28:22 +0000 (16:28 +0200)
pym/portage/tests/lint/test_compile_modules.py

index c6e68946e4a54bcc4e8b3edf04523d0bdf7caef6..2e5ab7e2df6552231c62c756e7594d49eaf8a4e5 100644 (file)
@@ -47,3 +47,4 @@ class CompileModulesTestCase(TestCase):
                                if do_compile:
                                        cfile += (__debug__ and 'c' or 'o')
                                        py_compile.compile(x, cfile=cfile, doraise=True)
+                                       os.unlink(cfile)