Skip to content

Commit

Permalink
Fix deprecated imports
Browse files Browse the repository at this point in the history
  • Loading branch information
cdonovick committed Jul 17, 2019
1 parent d4251df commit 43fe36a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion magma/backend/blif.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import types
from collections import OrderedDict, Sequence
from collections import OrderedDict
from collections.abc import Sequence
from ..bitutils import seq2int, fun2seq
from ..bit import VCC, GND, BitType
from ..array import ArrayType
Expand Down
3 changes: 2 additions & 1 deletion magma/backend/verilog.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
import types
import operator
from functools import reduce
from collections import OrderedDict, Sequence
from collections import OrderedDict
from collections.abc import Sequence
from ..port import INPUT, OUTPUT, INOUT, flip
from ..ref import DefnRef
from ..compatibility import IntegerTypes
Expand Down
2 changes: 1 addition & 1 deletion tests/test_syntax/test_sequential.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import pytest
import magma as m
from test_combinational import compile_and_check, phi
from collections import Sequence
from collections.abc import Sequence
import coreir

default_port_mapping = {
Expand Down

0 comments on commit 43fe36a

Please sign in to comment.