def test_with_neg_offset(self):
    line = '<_Z19exportDebugifyStats-123>'
    (address, rest) = asm2cfg.parse_target(line)
    self.assertIsNot(address, None)
    self.assertIs(address.abs, None)
    self.assertEqual(address.base, '_Z19exportDebugifyStats')
    self.assertEqual(address.offset, (- 123))
    self.assertEqual(rest, '')
def test_with_neg_offset(self):
    line = '<_Z19exportDebugifyStats-123>'
    (address, rest) = asm2cfg.parse_target(line)
    self.assertIsNot(address, None)
    self.assertIs(address.abs, None)
    self.assertEqual(address.base, '_Z19exportDebugifyStats')
    self.assertEqual(address.offset, (- 123))
    self.assertEqual(rest, )