aboutsummaryrefslogtreecommitdiff
path: root/run_unittests.py
diff options
context:
space:
mode:
Diffstat (limited to 'run_unittests.py')
-rwxr-xr-xrun_unittests.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/run_unittests.py b/run_unittests.py
index f1ff2b4..9da20e6 100755
--- a/run_unittests.py
+++ b/run_unittests.py
@@ -13,6 +13,11 @@
# 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 time
import stat
import subprocess
@@ -22,7 +27,6 @@ import tempfile
import textwrap
import os
import shutil
-import sys
import unittest
import platform
import pickle