From ddac6dd4f88f2b59409cf09276045c8c1d2b7902 Mon Sep 17 00:00:00 2001 From: Alexandru Fikl <alexfikl@gmail.com> Date: Fri, 4 Nov 2022 16:45:04 +0200 Subject: [PATCH] import from collections.abc only --- sumpy/tools.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/sumpy/tools.py b/sumpy/tools.py index f1ac7c1e..3d79ded5 100644 --- a/sumpy/tools.py +++ b/sumpy/tools.py @@ -686,10 +686,7 @@ class KernelComputation(ABC): # Author: Raymond Hettinger # License: MIT -try: - from collections.abc import MutableSet -except ImportError: - from collections import MutableSet +from collections.abc import MutableSet class OrderedSet(MutableSet): -- GitLab