Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to run tests under pytest-asyncio 0.19.0 #1

Closed
xJonathanLEI opened this issue Aug 5, 2022 · 1 comment · Fixed by #2
Closed

Unable to run tests under pytest-asyncio 0.19.0 #1

xJonathanLEI opened this issue Aug 5, 2022 · 1 comment · Fixed by #2

Comments

@xJonathanLEI
Copy link
Contributor

Running test cases under pytest-asyncio results in errors (taking one failed test as example):

FAILED tests/DefaultInterestRateModel_test.py::test_borrow_rates - AttributeError: 'coroutine' object has no attribute 'model'

Reverting pytest-asyncio 0.18.0 fixes this. We need to figure out what is broken so we can adapt.

@xJonathanLEI
Copy link
Contributor Author

Looks like it's caused by:

pytest-dev/pytest-asyncio#380

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant