diff options
| author | Philip Taron <philip.taron@gmail.com> | 2024-03-27 09:11:50 -0700 |
|---|---|---|
| committer | Philip Taron <philip.taron@gmail.com> | 2024-03-27 09:23:10 -0700 |
| commit | c142b7e4419e61306a94b16b30b3c7cdef14f85a (patch) | |
| tree | aa20c85014c415d417020c8965e8ed4da7e6691f /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch | |
| parent | 899b1ed417cf21da5e33cca9b4c5e2bce8ecb301 (diff) | |
python3Packages.cocotb: fix build
I removed the test as it currently fails on master and is removed
upstream in the as-yet-unreleased next version.
The test that fails looks like this:
```
Traceback (most recent call last):
File "/build/source/tests/test_cases/test_cocotb/test_deprecated.py", line 39, in test_unicode_handle_assignment_deprecated
dut.stream_in_string.value = "Bad idea"
^^^^^^^^^^^^^^^^^^^^
File "/nix/store/yvcizx3fwkm044jpw9sfpnb0kx0g2bfl-python3.11-cocotb-1.8.1/lib/python3.11/site-packages/cocotb/handle.py", line 370, in __getattr__
raise AttributeError(f"{self._name} contains no object named {name}")
AttributeError: sample_module contains no object named stream_in_string
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/build/source/tests/test_cases/test_cocotb/test_deprecated.py", line 38, in test_unicode_handle_assignment_deprecated
with pytest.warns(DeprecationWarning, match=".*bytes.*"):
File "/nix/store/5ipi1f14ji1nrvqnf8h8fqvr0zny183d-python3.11-pytest-8.0.2/lib/python3.11/site-packages/_pytest/recwarn.py", line 332, in __exit__
fail(
File "/nix/store/5ipi1f14ji1nrvqnf8h8fqvr0zny183d-python3.11-pytest-8.0.2/lib/python3.11/site-packages/_pytest/outcomes.py", line 188, in fail
raise Failed(msg=reason, pytrace=pytrace)
Failed: DID NOT WARN. No warnings of type (<class 'DeprecationWarning'>,) were emitted.
Emitted warnings: [].
```
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions
