TypeError: load() missing 1 required positional argument: 'Loader'

Bug #1954475 reported by Corey Bryant
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mistral
Fix Released
Undecided
Unassigned

Bug Description

I hit this running py39 tests:

'tox -e py39'

=========================
Failures during discovery
=========================
--- import errors ---
Failed to import test module: mistral.tests.unit.api.v2.test_workflows
Traceback (most recent call last):
  File "/usr/lib/python3.9/unittest/loader.py", line 436, in _find_test_path
    module = self._get_module_from_name(name)
  File "/usr/lib/python3.9/unittest/loader.py", line 377, in _get_module_from_name
    __import__(name)
  File "/home/corey/pkg/yoga/upstream/mistral/mistral/tests/unit/api/v2/test_workflows.py", line 190, in <module>
    WFS_YAML = yaml.load(WFS_DEFINITION)
TypeError: load() missing 1 required positional argument: 'Loader'

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to mistral (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/mistral/+/821437

Changed in mistral:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on mistral (master)

Change abandoned by "Arnaud Morin <email address hidden>" on branch: master
Review: https://review.opendev.org/c/openstack/mistral/+/821437
Reason: fixed with https://review.opendev.org/c/openstack/mistral/+/801223

Revision history for this message
Arnaud Morin (arnaud-morin) wrote :
Changed in mistral:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.