Skip to content

Commit

Permalink
Merge pull request #50 from Djedouas/patch-2
Browse files Browse the repository at this point in the history
Update QtTest.pyi
  • Loading branch information
stlehmann authored Jul 9, 2020
2 parents 6b40e6d + 8381fa3 commit 2489fe9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions PyQt5-stubs/QtTest.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -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: ...
Expand Down

0 comments on commit 2489fe9

Please sign in to comment.