mirror of
https://github.com/myhdl/myhdl.git
synced 2025-01-24 21:52:56 +08:00
test_concat import reduce, long for python3
This commit is contained in:
parent
e6bf9e0e0c
commit
a213fa4792
@ -25,12 +25,14 @@ import unittest
|
|||||||
from unittest import TestCase
|
from unittest import TestCase
|
||||||
import random
|
import random
|
||||||
from random import randrange
|
from random import randrange
|
||||||
|
from functools import reduce
|
||||||
random.seed(2) # random, but deterministic
|
random.seed(2) # random, but deterministic
|
||||||
import operator
|
import operator
|
||||||
|
|
||||||
from myhdl._intbv import intbv
|
from myhdl._intbv import intbv
|
||||||
from myhdl._Signal import Signal
|
from myhdl._Signal import Signal
|
||||||
from myhdl._concat import concat
|
from myhdl._concat import concat
|
||||||
|
from myhdl._compat import long
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user