def test_fileWithFlakes(self):
        fd = open(self.tempfilepath, 'wb')
        fd.write("import contraband\n".encode('ascii'))
        fd.close()
        d = self.runPyflakes([self.tempfilepath])
        expected = UnusedImport(self.tempfilepath, Node(1), 'contraband')
        self.assertEqual(d, ("%s\n" % expected, '', 1))
Make sure that install the a of multiple package XPD installs all parts.
dataset/ETHPy150Open patrys/PythonChecker/pyflakes/test/test_api.py/IntegrationTests.test_fileWithFlakes--crossover with--dataset/ETHPy150Open jlisee/xpkg/python/tests/fulltests.py/FullTests.test_multipkg_xpd_install