Fix test_check_age_and_lifetime #1471
Annotations
1 error and 3 warnings
/home/runner/work/oemof-solph/oemof-solph/tests/test_options.py#L14
def test_check_age_and_lifetime():
"""Check error being thrown if age > lifetime"""
msg = "A unit's age must be smaller than its expected lifetime."
with pytest.raises(AttributeError, match=msg):
- solph.Flow(
- nominal_value=solph.Investment(age=41, lifetime=40)
- )
+ solph.Flow(nominal_value=solph.Investment(age=41, lifetime=40))
|
build (3.9)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
build (3.9)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/upload-artifact@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "tox-gh-actions-dist".
Please update your workflow to use v4 of the artifact actions.
Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
tox-gh-actions-dist
Expired
|
2.01 MB |
|