Skip to content
This repository was archived by the owner on Nov 16, 2023. It is now read-only.
This repository was archived by the owner on Nov 16, 2023. It is now read-only.

Mac Py36 extended test fails due to missing attribute get_marker #117

Closed
@pieths

Description

@pieths

Here is the error output:

2019-05-31T10:06:46.4923630Z ______________ ERROR at setup of TestDataSchema.test_data_column _______________
2019-05-31T10:06:46.4960380Z 
2019-05-31T10:06:46.4964080Z item = <TestCaseFunction test_data_column>
2019-05-31T10:06:46.4986260Z 
2019-05-31T10:06:46.4997650Z     def pytest_runtest_setup(item):
2019-05-31T10:06:46.5025290Z     
2019-05-31T10:06:46.5038480Z >       remote_data = item.get_marker('remote_data')
2019-05-31T10:06:46.5039250Z E       AttributeError: 'TestCaseFunction' object has no attribute 'get_marker'
2019-05-31T10:06:46.5039760Z 
2019-05-31T10:06:46.5040740Z dependencies/Python3.6/lib/python3.6/site-packages/pytest_remotedata/plugin.py:59: AttributeError

It looks like this might be happening because the get_marker() method was removed in version 4.0 of pytest and the pytest-remotedata plugin is trying to call this missing method. It appears that this has been fixed in version 0.3.1 of pytest-remotedata.

Here are the current versions reported in the mac test run:

  • pytest version 4.5.0
  • pytest-remotedata version 0.2.1

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions