Skip to content
Snippets Groups Projects
Commit d6f0d268 authored by Stephan Seitz's avatar Stephan Seitz
Browse files

Fix deprecation warning: `collections.abc` instead of `abc`

DeprecationWarning: Using or importing the ABCs from 'collections'
instead of from '' is deprecated, and in 3.8 it will stop working
parent 8c4a6f1e
No related branches found
No related tags found
No related merge requests found
Pipeline #16382 failed
import numpy as np import numpy as np
from abc import ABC, abstractmethod from collections.abc import ABC, abstractmethod
from typing import Optional, Callable, Sequence, Iterable, Tuple, Dict, Union from typing import Optional, Callable, Sequence, Iterable, Tuple, Dict, Union
from pystencils.field import Field from pystencils.field import Field
......
import abc import collections.abc as abc
from typing import Tuple # noqa from typing import Tuple # noqa
import sympy as sp import sympy as sp
from pystencils.astnodes import Conditional, Block from pystencils.astnodes import Conditional, Block
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment