-
-
Notifications
You must be signed in to change notification settings - Fork 409
Closed
Description
Problem description
Some unit tests failed due to the breakage in the implementation of the new ruamel.yaml API. It may be related to #1048 and #1049.
Steps to reproduce
Run unit test on the main branch
======================================================================
FAIL: setUpClass (cantera.test.test_composite.TestModels)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Users\David\cantera\build\python\cantera\test\test_composite.py", line 17, in setUpClass
cls.yml = utilities.load_yaml(cls.yml_file)
File "C:\Users\David\cantera\build\python\cantera\test\utilities.py", line 25, in load_yaml
return yaml_.load(stream)
File "C:\Users\David\anaconda3\envs\cantera-dev\lib\site-packages\ruamel_yaml\main.py", line 331, in load
return constructor.get_single_data()
File "C:\Users\David\anaconda3\envs\cantera-dev\lib\site-packages\ruamel_yaml\constructor.py", line 111, in get_single_data
return self.construct_document(node)
File "C:\Users\David\anaconda3\envs\cantera-dev\lib\site-packages\ruamel_yaml\constructor.py", line 116, in construct_document
data = self.construct_object(node)
File "C:\Users\David\anaconda3\envs\cantera-dev\lib\site-packages\ruamel_yaml\constructor.py", line 167, in construct_object
data = constructor(self, node)
File "C:\Users\David\anaconda3\envs\cantera-dev\lib\site-packages\ruamel_yaml\constructor.py", line 729, in construct_undefined
raise ConstructorError(
ruamel_yaml.constructor.ConstructorError: could not determine a constructor for the tag None
in "C:\Users\David\cantera\build\python\cantera\test\data\thermo-models.yaml", line 1, column 1'
System information
- Cantera version: 2.6.0a2/ main branch
- OS: Windows 10
- Python/MATLAB/other software versions: Python 3.9
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels