issues
search
oemof
/
oemof-tabular
Load oemof energy systems from tabular data sources.
https://oemof-tabular.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
7
stars
5
forks
source link
TypeError and AssertionError occurs during pytest in /tests
#183
Open
miriabeh
opened
3 months ago
miriabeh
commented
3 months ago
commands used up until the Errors:
conda create -n oemof-tabular-numpyfix 'python=3.9'
setup.py changed, due to new pyomo version supporting numpy version 2.x: numpy instead of numpy<2.0.0
pip install -e .
pytest (creates different ErrorMessages than displayed in #179 )
Error Messages:
FAILED test_examples.py::test_example_datapackage_readability - TypeError: Bus.
init
() got an unexpected keyword argument 'type'
FAILED test_examples.py::test_scripting_examples - TypeError: Bus.
init
() got an unexpected keyword argument 'type'
FAILED test_multi_period_constraints.py::TestMultiPeriodConstraints::test_storage_investment_green_field - AssertionError: Failed matching lp_file_1 with lp_file_2:
FAILED test_multi_period_constraints.py::TestMultiPeriodConstraints::test_storage_investment_brown_field - AssertionError: Failed matching lp_file_1 with lp_file_2:
FAILED test_multi_period_constraints.py::TestMultiPeriodConstraints::test_storage_investment_brown_field_no_storage_capacity_cost - AssertionError: Failed matching lp_file_1 with lp_file_2:
FAILED test_multi_period_constraints.py::TestMultiPeriodConstraints::test_backpressure_investment_green_field - AssertionError: Failed matching lp_file_1 with lp_file_2:
FAILED test_multi_period_constraints.py::TestMultiPeriodConstraints::test_backpressure_investment_brown_field - AssertionError: Failed matching lp_file_1 with lp_file_2:
FAILED test_multi_period_constraints.py::TestMultiPeriodConstraints::test_extraction_investment_green_field - AssertionError: Failed matching lp_file_1 with lp_file_2:
FAILED test_multi_period_constraints.py::TestMultiPeriodConstraints::test_extraction_investment_brown_field - AssertionError: Failed matching lp_file_1 with lp_file_2:
FAILED test_multi_period_constraints.py::TestMultiPeriodConstraints::test_dispatchable - AssertionError: Failed matching lp_file_1 with lp_file_2:
FAILED test_multi_period_constraints.py::TestMultiPeriodConstraints::test_storage - AssertionError: Failed matching lp_file_1 with lp_file_2:
FAILED test_multi_period_constraints.py::TestMultiPeriodConstraints::test_volatile - AssertionError: Failed matching lp_file_1 with lp_file_2:
commands used up until the Errors:
Error Messages: