def METHOD_NAME(self) -> None:
    self.make_file("bar.py")
    with tempfile.TemporaryDirectory() as other:
        self.make_file("other_dir.py", base=other)
        self.make_file("pkg/other_dir.py", base=other)
        assert self.isfile_case(os.path.join(other, "other_dir.py"))
        assert not self.isfile_case(os.path.join(other, "Other_Dir.py"))
        assert not self.isfile_case(os.path.join(other, "bar.py"))
        if sys.platform in ("win32", "darwin"):
            # We only check case for directories under our prefix, and since
            # this path is not under the prefix, case difference is fine.
            assert self.isfile_case(os.path.join(other, "PKG/other_dir.py"))