Rather than wrapping a generator in a generator, just expose the inner generator
Signed-off-by: Dylan Baker <[email protected]> --- tests/xts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/xts.py b/tests/xts.py index d4577b6..27865a9 100644 --- a/tests/xts.py +++ b/tests/xts.py @@ -175,7 +175,7 @@ def populate_profile(): continue # incrementing number generator - counts = (x for x in itertools.count(1, 1)) + counts = itertools.count(start=1) # Walk the file looking for >>ASSERTION, each of these corresponds # to a generated subtest, there can be multiple subtests per .m -- 2.2.1 _______________________________________________ Piglit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/piglit
