zeromq / pyre

Python port of Zyre
GNU Lesser General Public License v3.0
121 stars 52 forks source link

Restore test syntax compatibility with Python 2.7, 3.4, and 3.5 #152

Closed papr closed 3 years ago

papr commented 3 years ago

@keent Following up on https://github.com/zeromq/pyre/pull/151#issuecomment-852357513: Python 2.7 to 3.5 have all reached their end of life. It might be time to consider dropping their support.

All three Python versions fail with a syntax error in test_network_disconnect.py (contains type annotations which are only supported in >= 3.6). I remove the incompatible syntax in this PR.