diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2020-09-04 16:11:09 +0200 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2020-09-04 16:11:09 +0200 |
| commit | 704d3aab0f25d6b0d2939f1bb4e95ca73861ca9c (patch) | |
| tree | 69680c1ce0a1a296aa1ed78fdbff30f583172e67 /sources/pyside2/tests | |
| parent | d6d31c5c277d30080a6b92de3774460048dcf49e (diff) | |
| parent | fedc289138bd912384e71a91e49ef9ee7b8a0fbb (diff) | |
Merge remote-tracking branch 'origin/5.15' into dev
Change-Id: Ib1d2c1b76a043526e8f715e45296104cad085a4a
Diffstat (limited to 'sources/pyside2/tests')
| -rw-r--r-- | sources/pyside2/tests/QtCore/qprocess_test.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sources/pyside2/tests/QtCore/qprocess_test.py b/sources/pyside2/tests/QtCore/qprocess_test.py index 2e0ad3807..daaf0843b 100644 --- a/sources/pyside2/tests/QtCore/qprocess_test.py +++ b/sources/pyside2/tests/QtCore/qprocess_test.py @@ -48,13 +48,14 @@ class TestQProcess (unittest.TestCase): def testPid(self): p = QProcess() - p.start("dir") + p.start("dir", []) p.waitForStarted() pid = p.pid() # We can't test the pid method result because it returns 0 when the # process isn't running if p.state() == QProcess.Running: self.assertNotEqual(pid, 0) + p.waitForFinished() else: print("PROCESS ALREADY DEAD :-/") |
