Bug 1706027
Summary: | python-uranium FTBFS with python 3.8 | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Miro Hrončok <mhroncok> | ||||
Component: | python-uranium | Assignee: | Miro Hrončok <mhroncok> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | rawhide | CC: | mhroncok, python-sig | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2019-08-04 07:35:23 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 1686977 | ||||||
Attachments: |
|
Description
Miro Hrončok
2019-05-03 12:11:08 UTC
From 4.1.0: _________________________ test_getUsedSettings[data1] __________________________ data = {'code': '"x"', 'variables': ['x']} @pytest.mark.parametrize("data", test_getUsedSettings_data) def test_getUsedSettings(data): function = SettingFunction(data["code"]) answer = function.getUsedSettingKeys() > assert len(answer) == len(data["variables"]) E assert 0 == 1 E -0 E +1 tests/Settings/TestSettingFunction.py:141: AssertionError _________________________ test_getUsedSettings[data7] __________________________ data = {'code': "sqrt('x')", 'variables': ['sqrt', 'x']} @pytest.mark.parametrize("data", test_getUsedSettings_data) def test_getUsedSettings(data): function = SettingFunction(data["code"]) answer = function.getUsedSettingKeys() > assert len(answer) == len(data["variables"]) E assert 1 == 2 E -1 E +2 tests/Settings/TestSettingFunction.py:141: AssertionError Reported upstream: https://github.com/Ultimaker/Uranium/issues/498 I have a patch (posted to the upstream issue). Built the package in copr with it, will commit it during next 3.8 rebuilds if uranium is not updated until then. |