diff --git a/CHANGELOG.md b/CHANGELOG.md index 684009b4..4b760748 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ### Added ### Changed +* [#50](https://github.com/stlehmann/PyQt5-stubs/pull/50) fixes QTest QAbstractItemModelTester.FailureReportingMode attributes * [#46](https://github.com/stlehmann/PyQt5-stubs/pull/46) fixes QCoreApplication and QObject signals * [#48](https://github.com/stlehmann/PyQt5-stubs/pull/48) fixes some signals for QClipBoard, QWindows, QQuickView and QQml{Application,}Engine * [#49](https://github.com/stlehmann/PyQt5-stubs/pull/49) fixes QAbstractItemView.setModel to accept None diff --git a/PyQt5-stubs/QtTest.pyi b/PyQt5-stubs/QtTest.pyi index 04683a17..8a93544f 100644 --- a/PyQt5-stubs/QtTest.pyi +++ b/PyQt5-stubs/QtTest.pyi @@ -43,10 +43,10 @@ PYQT_OPENGL_BOUND_ARRAY = typing.Union[typing.Sequence[int], class QAbstractItemModelTester(QtCore.QObject): - class FailureReportingMode(int): ... - QtTest = ... # type: 'QAbstractItemModelTester.FailureReportingMode' - Warning = ... # type: 'QAbstractItemModelTester.FailureReportingMode' - Fatal = ... # type: 'QAbstractItemModelTester.FailureReportingMode' + class FailureReportingMode(int): + QtTest = ... # type: 'QAbstractItemModelTester.FailureReportingMode' + Warning = ... # type: 'QAbstractItemModelTester.FailureReportingMode' + Fatal = ... # type: 'QAbstractItemModelTester.FailureReportingMode' @typing.overload def __init__(self, model: QtCore.QAbstractItemModel, parent: typing.Optional[QtCore.QObject] = ...) -> None: ...