Commit 9ce30c1
committed
tests: Fix test_header patching leaking into other tests
Since we run pytester in-process, the patching of qt_api.get_versions will leak
into the rest of the testsuite (even if done in a temporary conftest.py, the
qt_api module is the same!). This causes Qt API version checks in the testsuite
to be broken.1 parent 0b88127 commit 9ce30c1
1 file changed
+6
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
309 | 309 | | |
310 | 310 | | |
311 | 311 | | |
312 | | - | |
313 | | - | |
314 | | - | |
315 | | - | |
316 | | - | |
317 | | - | |
318 | | - | |
319 | | - | |
320 | | - | |
321 | | - | |
322 | | - | |
323 | | - | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
324 | 317 | | |
325 | | - | |
| 318 | + | |
326 | 319 | | |
327 | 320 | | |
328 | 321 | | |
| |||
0 commit comments