Skip to content

Commit

Permalink
test: fix issue in test debug code (ApeWorX#2110)
Browse files Browse the repository at this point in the history
  • Loading branch information
antazoey authored Jun 4, 2024
1 parent 38e3ae8 commit 013e0a5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ape/managers/plugins.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def get_plugin_name_and_hookfn(h):
if validated_plugin:
yield validated_plugin
else:
# Only if it's an iterator, provider results as a series
# Only if it's an iterator, provide results as a series
for result in results:
validated_plugin = self._validate_plugin(plugin_name, result)
if validated_plugin:
Expand Down
2 changes: 1 addition & 1 deletion tests/functional/test_ecosystem.py
Original file line number Diff line number Diff line change
Expand Up @@ -979,7 +979,7 @@ def test_default_network_name_when_not_set_and_no_local_uses_only(
if actual == LOCAL_NETWORK_NAME:
# For some reason, this test is flake-y. Offer more info
# to try and debug when this happens (intermittent CI failure).
all_nets = ", ".join([x.name for x in ecosystem.networks])
all_nets = ", ".join([x for x in ecosystem.networks.keys()])
pytest.fail(
f"assert '{LOCAL_NETWORK_NAME}' == '{only_network}'. More info below:\n"
f"ecosystem_name={ecosystem.name}\n"
Expand Down

0 comments on commit 013e0a5

Please sign in to comment.