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 | bad63e02b113626a048ea5eb253293c61902e291 (patch) | |
tree | efb98eaafdf9d9212b53a1e51a782f7ff00cca41 /tests/test_phystokens.py | |
parent | b3df60a544a54b4dd604d34137ff08e02b815e81 (diff) | |
download | python-coveragepy-git-bad63e02b113626a048ea5eb253293c61902e291.tar.gz |
Generator expressons are ok now.
--HG--
branch : 4.0
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 76e59f3b..9ff053c4 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. |