def METHOD_NAME(self):
    if sys.platform != "darwin":
        self.skipTest('Not supported on "%s"' % sys.platform)
    tmp = tempfile.NamedTemporaryFile(delete=False)
    tmp.close()
    try:
        with open(tmp.name + "/..namedfork/rsrc", "wb") as fork:
            fork.write(TEST_RSRC_FORK)
        reader = ResourceReader(tmp.name)
        resources = [res for typ in reader.keys() for res in reader[typ]]
        reader.close()
        self.assertExpected(resources)
    finally:
        os.remove(tmp.name)