Skip to content

AttributeError: '_QtApi' object has no attribute 'QtCore' #166

@ghisvail

Description

@ghisvail

Running:

from pytestqt.qt_compat import qt_api
print(qt_api.QtCore)

results in the following error:

AttributeError: '_QtApi' object has no attribute 'QtCore'

This error arises when pytest collects the test cases from tests/test_modeltest.py.

Metadata

Metadata

Assignees

No one assigned

    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