There are test case failures in Python 3.8 . I think this is due to mocking create_server which is now AsyncMock instead of MagicMock with changes in https://bugs.python.org/issue26467 where coroutines when patched return AsyncMock. Thus there are warnings due to the mock not being awaited. The old behavior can be used with MagicMock explicitly passed while patching. There also seems to be a bug that AsyncMock is not recording call_args and other values for synchronous API.
There is also DeprecationWarning since StreamReader and StreamWriter are merged into Stream class in https://bugs.python.org/issue36889. Attached is a log with 3.9.0a0 but these are reproducible on 3.8.0b1 as well.
aiosmptd.log
There are test case failures in Python 3.8 . I think this is due to mocking
create_serverwhich is nowAsyncMockinstead ofMagicMockwith changes in https://bugs.python.org/issue26467 where coroutines when patched returnAsyncMock. Thus there are warnings due to the mock not being awaited. The old behavior can be used withMagicMockexplicitly passed while patching. There also seems to be a bug thatAsyncMockis not recordingcall_argsand other values for synchronous API.There is also DeprecationWarning since
StreamReaderandStreamWriterare merged intoStreamclass in https://bugs.python.org/issue36889. Attached is a log with 3.9.0a0 but these are reproducible on 3.8.0b1 as well.aiosmptd.log