Skip to content

Commit 0947ae6

Browse files
authored
Tests for QtWidgets.QMessageBox.StandardButtons
1 parent af93584 commit 0947ae6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/qmessagebox.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,6 @@
22

33
a = QtWidgets.QMessageBox.Ok | QtWidgets.QMessageBox.Ok # type: QtWidgets.QMessageBox.StandardButtons
44
b = QtWidgets.QMessageBox.Ok | 0 # type: int
5+
c = a | 0 # type: QtWidgets.QMessageBox.StandardButtons
6+
d = a | QtWidgets.QMessageBox.Ok # type: QtWidgets.QMessageBox.StandardButtons
7+
e = a | a # type: QtWidgets.QMessageBox.StandardButtons

0 commit comments

Comments
 (0)