def METHOD_NAME(self):
    if os.name == "nt":
        # Fails on NT platforms and I am too lazy to fix
        # Cause: url get quoted %7C which gets lowercased to
        # %7c and this fails.
        pytest.skip("Not running on NT")
    url = "file:/%(curdir)s/%(datadir)s/file.txt" % self.get_attrs()
    nurl = self.norm(url)
    resultlines = [
        "url %s" % url,
        "cache key %s" % nurl,
        "real url %s" % nurl,
        "error",
    ]
    self.direct(url, resultlines)