Skip to content

Commit

Permalink
ref: use generator expression instead of map
Browse files Browse the repository at this point in the history
  • Loading branch information
vladkolotvin authored and radoering committed Jul 23, 2024
1 parent e7ffb31 commit ca24772
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/bundlers/test_venv_bundler.py
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ def test_bundler_editable_deps(
"""
assert expected == io.fetch_output()

installed_packages = map(lambda call: call.args[1], install_spy.call_args_list)
installed_packages = [call.args[1] for call in install_spy.call_args_list]
dep_installs = list(filter(lambda package: package.name == 'bar', installed_packages))
assert len(dep_installs) > 0

Expand Down

0 comments on commit ca24772

Please sign in to comment.