diff options
author | Dylan Baker <dylanx.c.baker@intel.com> | 2014-12-31 15:22:58 -0800 |
---|---|---|
committer | Dylan Baker <baker.dylan.c@gmail.com> | 2015-01-07 11:29:43 -0800 |
commit | 1476ab48213833ffa644f4d70ad976a9d2a1a698 (patch) | |
tree | 43237cb5fbed7be58dc79fd4f621c26c972fa225 | |
parent | 1efb99ae09368599bd6b67a71b5e7f3d825ed4aa (diff) |
xts.py: Simplify generator statement
Rather than wrapping a generator in a generator, just expose the inner
generator
Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
-rw-r--r-- | tests/xts.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/xts.py b/tests/xts.py index d4577b6a2..27865a9dd 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 |