-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Change imports to use unittest.mock instead of mock Note that this commit does not remove the mock package from the Pipenv dependencies. * Replace asynctest functions with builtins and copied code Note that this commit does not remove asynctest from the Pipenv dependencies. * Use errors exported through asyncio * Remove deprecated asyncio features * Ensure ongoing rating tasks are finished when shutting down * Remove mock and asynctest * Use platform.python_version * Implement typing.Protocol refactors * Use dict union to merge dicts * Use standard collections as typing generics where possible * Fix flake8 errors * Ignore errors thrown during disconnect handlers * Unpin pytest-asyncio version * Bump python version to 3.9 * Run pipenv lock * Refactor test_backpressure_handling * Don't wait for protocol to close when disconnecting * Force warnings to error in tests * Close sockets opened in fixtures * Add cleanup code to event_loop fixture for better isolation * Limit how long to wait when shutting down PlayerService * Better logging in test_backpressure_handling * Refactor ServerContext shutdown to always close connections * Code cleanup * Don't drain protos in PlayerService shutdown * Improve logging * Initialize services before starting control server * Add mark for flaky tests * Don't import from unittest.mock * Copy wrap_func from new version of aiocron * Refactor tests.utils module * Revert "Force warnings to error in tests" This reverts commit 27283fe.
- Loading branch information
Showing
93 changed files
with
1,104 additions
and
1,016 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM python:3.7-slim | ||
FROM python:3.9-slim | ||
|
||
# Need git for installing aiomysql | ||
RUN apt-get update | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.