at 24.11-pre 25 lines 921 B view raw
1diff --git a/tests/test_cases/test_cocotb/test_deprecated.py b/tests/test_cases/test_cocotb/test_deprecated.py 2index 523b93ba..b4f1701e 100644 3--- a/tests/test_cases/test_cocotb/test_deprecated.py 4+++ b/tests/test_cases/test_cocotb/test_deprecated.py 5@@ -26,20 +26,6 @@ async def test_returnvalue_deprecated(dut): 6 assert val == 42 7 8 9-# strings are not supported on Icarus (gh-2585) or GHDL (gh-2584) 10-@cocotb.test( 11- expect_error=AttributeError 12- if cocotb.SIM_NAME.lower().startswith("icarus") 13- else TypeError 14- if cocotb.SIM_NAME.lower().startswith("ghdl") 15- else () 16-) 17-async def test_unicode_handle_assignment_deprecated(dut): 18- with pytest.warns(DeprecationWarning, match=".*bytes.*"): 19- dut.stream_in_string.value = "Bad idea" 20- await cocotb.triggers.ReadWrite() 21- 22- 23 @cocotb.test() 24 async def test_convert_handle_to_string_deprecated(dut): 25 dut.stream_in_data.value = 0