diff options
| author | Ned Batchelder <ned@nedbatchelder.com> | 2013-10-19 22:08:37 -0400 |
|---|---|---|
| committer | Ned Batchelder <ned@nedbatchelder.com> | 2013-10-19 22:08:37 -0400 |
| commit | 5aa8f70d4ee8b3d40d5caf69c42c67d4fd4f0118 (patch) | |
| tree | bad8ec8d95104c115461b0bf4cd4e3584a46cfd7 /tests/test_phystokens.py | |
| parent | dfb5405959bbe14ebcf533cd442c41a314b8a4fd (diff) | |
| download | python-coveragepy-5aa8f70d4ee8b3d40d5caf69c42c67d4fd4f0118.tar.gz | |
Generator expressons are ok now.
Diffstat (limited to 'tests/test_phystokens.py')
| -rw-r--r-- | tests/test_phystokens.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_phystokens.py b/tests/test_phystokens.py index 76e59f3..9ff053c 100644 --- a/tests/test_phystokens.py +++ b/tests/test_phystokens.py @@ -29,7 +29,7 @@ class PhysTokensTest(CoverageTest): """Tokenize `source`, then put it back together, should be the same.""" tokenized = "" for line in source_token_lines(source): - text = "".join([t for _,t in line]) + text = "".join(t for _, t in line) tokenized += text + "\n" # source_token_lines doesn't preserve trailing spaces, so trim all that # before comparing. |
