Lines Matching defs:check
122 # Various tests for hashing of tuples to check that we get few collisions.
329 check = self._tracked if always_track else self._not_tracked
330 check(tp())
331 check(tp([]))
332 check(tp(set()))
333 check(tp([1, x, y]))
334 check(tp(obj for obj in [1, x, y]))
335 check(tp(set([1, x, y])))
336 check(tp(tuple([obj]) for obj in [1, x, y]))
337 check(tuple(tp([obj]) for obj in [1, x, y]))
365 def check(n):
370 check(10) # check our checking code
371 check(1000000)