def test_pathEntriesOnPath(self):
        """
        Verify that path entries discovered via module loading are, in fact, on
        sys.path somewhere.
        """
        for n in ['os',
                  'twisted',
                  'twisted.python',
                  'twisted.python.reflect']:
            self.failUnlessIn(
                modules.getModule(n).pathEntry.filePath.path,
                sys.path)

        Verify that path entries discovered via module loading are, in fact, on
        sys.path somewhere.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/test/test_modules.py