def METHOD_NAME(self):
    tf = tempfile.NamedTemporaryFile(mode="w")
    tf.write('TELEMETRY tgt1 pkt1 LITTLE_ENDIAN "Packet"\n')
    tf.write("  ITEM item1 0 8 INT\n")
    tf.write('    FORMAT_STRING "d%d"\n')
    tf.write("  ITEM item2 0 8 UINT\n")
    tf.write('    FORMAT_STRING "u%u"\n')
    tf.write("  ITEM item3 0 8 UINT\n")
    tf.write('    FORMAT_STRING "0x%x"\n')
    tf.seek(0)
    self.pc.process_file(tf.name, "TGT1")
    self.pc.telemetry["TGT1"]["PKT1"].buffer = b"\x0a\x0b\x0c"
    self.assertEqual(
        self.pc.telemetry["TGT1"]["PKT1"].read("ITEM1", "FORMATTED"), "d10"
    )
    self.assertEqual(
        self.pc.telemetry["TGT1"]["PKT1"].read("ITEM2", "FORMATTED"), "u10"
    )
    self.assertEqual(
        self.pc.telemetry["TGT1"]["PKT1"].read("ITEM3", "FORMATTED"), "0xa"
    )
    tf.close()