Commit 8aa32b7
rodrigo.nogueira
fix: add Windows cleanup delay in secure_proxy_url fixture
On Windows, proxy.py uses threaded mode which can leave sockets in
a state where they haven't been fully released when GC runs during
pytest cleanup. A short delay + explicit gc.collect() ensures the
proxy threads finish cleanup before pytest's unraisableexception
plugin collects warnings.1 parent d10cd20 commit 8aa32b7
1 file changed
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
92 | 102 | | |
93 | 103 | | |
94 | 104 | | |
| |||
0 commit comments