jaraco / irc

Full-featured Python IRC library for Python.
MIT License
392 stars 87 forks source link

fix: broken test on python >= 3.8.1 #168

Closed MattBroach closed 4 years ago

MattBroach commented 4 years ago

Closes #165

Luckily the actual core functionality wasn't broken, but some change in python 3.8.1 broke the way the mocks were working in the offending test. I used a fix that took some inspiration (with simplifications, since it's currently just a one off here) from aiohttp's extensive async testing. Seems to be working normally in tox right now, at least locally.