def test_notFound(self):
        """
        C{errno.ENOENT} should be translated to L{ftp.FileNotFoundError}.
        """
        d = ftp.errnoToFailure(errno.ENOENT, "foo")
        return self.assertFailure(d, ftp.FileNotFoundError)

        C{errno.ENOENT} should be translated to L{ftp.FileNotFoundError}.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/test/test_ftp.py