1 from test
.test_support
import vereq
7 vereq(len(t
), len(astuple
))
10 # Check that slicing works the same way; at one point, slicing t[i:j] with
11 # 0 < i < j could produce NULLs in the result.
12 for i
in range(-len(t
), len(t
)):
13 for j
in range(-len(t
), len(t
)):
14 vereq(t
[i
:j
], astuple
[i
:j
])
16 # Devious code could crash structseqs' contructors
18 def __getitem__(self
, i
):
24 repr(time
.struct_time(C()))