New GitHub issue #119841 from Eclips4:<br>

<hr>

<pre>
# Bug report

### Bug description:

```python
./python.exe -m test -R 3:3 test_venv
Using random seed: 1249409427
0:00:00 load avg: 1.71 Run 1 test sequentially
0:00:00 load avg: 1.71 [1/1] test_venv
beginning 6 repetitions. Showing number of leaks (. for 0 or less, X for 10 or more)
123:456
Could not find platform dependent libraries <exec_prefix>
XCould not find platform dependent libraries <exec_prefix>
XCould not find platform dependent libraries <exec_prefix>
.Could not find platform dependent libraries <exec_prefix>
 .Could not find platform dependent libraries <exec_prefix>
.Could not find platform dependent libraries <exec_prefix>
.
test_venv passed in 37.3 sec

== Tests result: SUCCESS ==

1 test OK.

Total duration: 37.4 sec
Total tests: run=33 skipped=2
Total test files: run=1/1
Result: SUCCESS
```

### CPython versions tested on:

CPython main branch

### Operating systems tested on:

macOS
</pre>

<hr>

<a href="https://github.com/python/cpython/issues/119841">View on GitHub</a>
<p>Labels: type-bug, tests</p>
<p>Assignee: </p>