-
-
Notifications
You must be signed in to change notification settings - Fork 153
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #260 from dalthviz/fixes_issue_257
PR: Reorganize `QtCharts` module import and add missing skip validation for `QtNetworkAuth` test with `PyQt6`
- Loading branch information
Showing
3 changed files
with
18 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
import pytest | ||
|
||
from qtpy import PYSIDE2, PYSIDE6 | ||
|
||
|
||
@pytest.mark.skipif(not (PYSIDE2 or PYSIDE6), reason="Only available by default in PySide") | ||
def test_qtcharts(): | ||
"""Test the qtpy.QtCharts namespace""" | ||
from qtpy import QtCharts | ||
assert QtCharts.QtCharts.QChart is not None | ||
assert QtCharts.QChart is not None |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters