From 28175bbee2c111cf41b80c97bbadd7dbabaa8990 Mon Sep 17 00:00:00 2001 From: Daniel Mensinger Date: Tue, 22 Jun 2021 16:20:14 +0200 Subject: pathlib: Patch pathlib to work around some bugs (fixes #7295) --- run_tests.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'run_tests.py') diff --git a/run_tests.py b/run_tests.py index ae96bfaa0..90641ada1 100755 --- a/run_tests.py +++ b/run_tests.py @@ -14,9 +14,13 @@ # See the License for the specific language governing permissions and # limitations under the License. +# Work around some pathlib bugs... +from mesonbuild import _pathlib +import sys +sys.modules['pathlib'] = _pathlib + import collections import os -import sys import time import shutil import subprocess -- cgit v1.2.3