Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1696376 - python-hamcrest-1.9.0-8.fc31 FTBFS with pytest 4
Summary: python-hamcrest-1.9.0-8.fc31 FTBFS with pytest 4
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-hamcrest
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miro Hrončok
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PYTEST4 PYTHON38
TreeView+ depends on / blocked
 
Reported: 2019-04-04 16:34 UTC by Miro Hrončok
Modified: 2019-04-04 16:58 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-04-04 16:58:06 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Full log from Copr (150.30 KB, text/plain)
2019-04-04 16:34 UTC, Miro Hrončok
no flags Details

Description Miro Hrončok 2019-04-04 16:34:43 UTC
Created attachment 1552026 [details]
Full log from Copr

Tests fail with:

E   TypeError: object of type 'MarkDecorator' has no len()

full log attached.

This is because:

https://docs.pytest.org/en/latest/deprecations.html#marks-in-pytest-mark-parametrize

Comment 2 Miro Hrončok 2019-04-04 16:46:59 UTC
That is only partial fix however.

Comment 3 Miro Hrončok 2019-04-04 16:58:06 UTC
I've pushed the fix to git. Seems upstream master is different now so I'm not sending that upstream. If you wish to, you can always do that.


Note You need to log in before you can comment on or make changes to this bug.