These must be tuples + hack mypy warnings away.

This commit is contained in:
L. Kärkkäinen 2020-03-25 15:32:41 +02:00
parent 6bedec97ae
commit f928ad22be

View File

@ -7,9 +7,9 @@ from multidict import CIMultiDict # type: ignore
try:
from trio import Cancelled # type: ignore
CancelledErrors = [CancelledError, Cancelled]
CancelledErrors = tuple([CancelledError, Cancelled])
except ImportError:
CancelledErrors = [CancelledError]
CancelledErrors = tuple([CancelledError])
class Header(CIMultiDict):