python-hyper / h2

Pure-Python HTTP/2 protocol implementation
https://python-hyper.org/
MIT License
968 stars 157 forks source link

Fix repr() checks for Python 3.11 #1274

Closed jspricke closed 1 year ago

jspricke commented 1 year ago

In Python 3.11, repr() was modified, this commit fixes the assertions to match the new repr() behavior.

Fix #1268 Same as #1269 but with support for older Python versions.