Skip to content

AttributeError: 'Function' object has no attribute 'get_closest_marker' #24

Closed
@gshif

Description

@gshif

Have a question. I am running python 2.7.14 with pytest 3.0.7 on MAC
I am always seeing an error:

INTERNALERROR>   File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pytest_github/plugin.py", line 323, in pytest_itemcollected
INTERNALERROR>     marker = item.get_closest_marker('github')
INTERNALERROR> AttributeError: 'Function' object has no attribute 'get_closest_marker'

Any help would be greatly appreciated

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions