mirror of
https://github.com/myhdl/myhdl.git
synced 2024-12-14 07:44:38 +08:00
mark test_Cosimulation as expected failure on pypy
This commit is contained in:
parent
e40e301764
commit
88cb76b5c3
@ -2,6 +2,7 @@ import sys
|
||||
import types
|
||||
|
||||
PY2 = sys.version_info[0] == 2
|
||||
PYPY = hasattr(sys, 'pypy_translation_info')
|
||||
|
||||
_identity = lambda x: x
|
||||
|
||||
|
@ -32,10 +32,11 @@ random.seed(1) # random, but deterministic
|
||||
|
||||
MAXLINE = 4096
|
||||
|
||||
import pytest
|
||||
from myhdl import Signal
|
||||
|
||||
from myhdl._Cosimulation import Cosimulation, CosimulationError, _error
|
||||
from myhdl._compat import to_bytes
|
||||
from myhdl._compat import to_bytes, PYPY
|
||||
|
||||
exe = "python test_Cosimulation.py CosimulationTest"
|
||||
|
||||
@ -55,6 +56,7 @@ toXVals = ["X00", "FZ3", "34XZ", "56U"]
|
||||
allSigs = fromSigs.copy()
|
||||
allSigs.update(toSigs)
|
||||
|
||||
@pytest.mark.xfail(PYPY, reason="This test does not work on pypy")
|
||||
class CosimulationTest(TestCase):
|
||||
|
||||
def testWrongExe(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user