Skip to content

Commit

Permalink
Merge branch '2.0.x'
Browse files Browse the repository at this point in the history
  • Loading branch information
davidism committed Oct 5, 2021
2 parents 1cf43e0 + 5a1c5eb commit fb82e3c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,9 @@ def bad_load():
lazy = DispatchingApp(bad_load, use_eager_loading=False)

with pytest.raises(BadExc):
lazy._flush_bg_loading_exception()
# reduce flakiness by waiting for the internal loading lock
with lazy._lock:
lazy._flush_bg_loading_exception()


def test_with_appcontext(runner):
Expand Down

0 comments on commit fb82e3c

Please sign in to comment.