def test_packageInPath(self):
        """
        If the file in question is a package on the Python path, then it should
        properly import and return that package.
        """
        package1 = runner.filenameToModule(os.path.join(self.parent,
                                                        'goodpackage'))
        import goodpackage
        self.assertEqual(goodpackage, package1)

        If the file in question is a package on the Python path, then it should
        properly import and return that package.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/trial/test/test_loader.py