Skip to content

Commit 2ab8ab1

Browse files
jcfrmrbean-bremen
authored andcommitted
style(PythonQtTestCleanup): Consistently indent test cases
1 parent 2b02b85 commit 2ab8ab1

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

tests/PythonQtTestCleanup.cpp

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -61,18 +61,18 @@ void PythonQtTestCleanup::testCallQtMethodInDestructorOwnedQTimer()
6161

6262
void PythonQtTestCleanup::testCallQtMethodInDestructorWeakRefGuarded()
6363
{
64-
QVERIFY(_helper->runScript(
65-
"import weakref\n" \
66-
"import PythonQt.QtCore\n" \
67-
"class TimerWrapper(object):\n" \
68-
" def __init__(self):\n" \
69-
" self.timerWeakRef = weakref.ref(PythonQt.QtCore.QTimer())\n" \
70-
" def __del__(self):\n" \
71-
" if self.timerWeakRef():\n" \
72-
" self.timerWeakRef().setSingleShot(True)\n" \
73-
"x = TimerWrapper()\n" \
74-
"obj.setPassed()\n"
75-
));
64+
QVERIFY(_helper->runScript(
65+
"import weakref\n" \
66+
"import PythonQt.QtCore\n" \
67+
"class TimerWrapper(object):\n" \
68+
" def __init__(self):\n" \
69+
" self.timerWeakRef = weakref.ref(PythonQt.QtCore.QTimer())\n" \
70+
" def __del__(self):\n" \
71+
" if self.timerWeakRef():\n" \
72+
" self.timerWeakRef().setSingleShot(True)\n" \
73+
"x = TimerWrapper()\n" \
74+
"obj.setPassed()\n"
75+
));
7676
}
7777

7878
void PythonQtTestCleanup::testSignalReceiverCleanup()

0 commit comments

Comments
 (0)