def METHOD_NAME(self):
    class Exc(Exception):
        pass
    # Devious code could crash structseqs' contructors
    class C:
        def __getitem__(self, i):
            raise Exc
        def __len__(self):
            return 9
    self.assertRaises(Exc, time.struct_time, C())