From 53db1340e1b20e40d2e35bfd6b02a9be8c3be701 Mon Sep 17 00:00:00 2001 From: Alexander Shadchin Date: Fri, 23 Feb 2024 09:42:42 +0300 Subject: [PATCH] Fix deprecation warning Remove deprecated aliases to Collections Abstract Base Classes from the collections module. --- src/betamax/headers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/betamax/headers.py b/src/betamax/headers.py index c1df11b..40d5713 100644 --- a/src/betamax/headers.py +++ b/src/betamax/headers.py @@ -8,7 +8,7 @@ """ import sys -from collections import Mapping, MutableMapping +from collections.abc import Mapping, MutableMapping __all__ = ('HTTPHeaderDict',)