import os

pkgs = os.path.join(os.environ["ROOT"], "pkgs")
info_dir = os.path.join(pkgs, "conda-build-test-ignore-some-prefix-files-1.0-0", "info")
has_prefix_file = os.path.join(info_dir, "has_prefix")
print(info_dir)
assert os.path.isfile(has_prefix_file)
with open(has_prefix_file) as f:
    assert "test2" not in f.read()

[(3, 'os.path.join', 'os.path.join', False, 'import os\n'), (4, 'os.path.join', 'os.path.join', False, 'import os\n'), (5, 'os.path.join', 'os.path.join', False, 'import os\n'), (7, 'os.path.isfile', 'os.path.isfile', False, 'import os\n')]