def METHOD_NAME(self):
    x = posix.stat_result(range(10), {'st_atime': 42, 'st_atime_ns': 43, 'abc': 44})
    r = x.__reduce__()
    self.assertEqual(posix.stat_result, r[0])
    self.assertEqual(tuple(range(10)), r[1][0])
    self.assertEqual(42, r[1][1]['st_atime'])
    self.assertEqual(None, r[1][1]['st_mtime_ns'])
    self.assertFalse('abc' in r[1][1])
    x = posix.terminal_size((42, 3.14))
    self.assertEqual((posix.terminal_size, ((42, 3.14), {})), x.__reduce__())