diff options
| author | Bas van Beek <43369155+BvB93@users.noreply.github.com> | 2021-10-23 18:26:12 +0200 |
|---|---|---|
| committer | Bas van Beek <43369155+BvB93@users.noreply.github.com> | 2021-10-23 19:09:14 +0200 |
| commit | 45ea1408cbb0ff571624e2ccff45300fd39defc8 (patch) | |
| tree | 8bd2aef694fdc55395505f98e9732535897c575e /numpy/distutils/tests | |
| parent | 6409a721c17aae94cfd55ccbcf26a95494dd1cf8 (diff) | |
| download | numpy-45ea1408cbb0ff571624e2ccff45300fd39defc8.tar.gz | |
TST: xfail `test_overrides` when numpy is build with MKL support
Diffstat (limited to 'numpy/distutils/tests')
| -rw-r--r-- | numpy/distutils/tests/test_system_info.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/numpy/distutils/tests/test_system_info.py b/numpy/distutils/tests/test_system_info.py index b722281ad..8c26271af 100644 --- a/numpy/distutils/tests/test_system_info.py +++ b/numpy/distutils/tests/test_system_info.py @@ -254,6 +254,10 @@ class TestSystemInfoReading: finally: os.chdir(previousDir) + HAS_MKL = "mkl_rt" in mkl_info().calc_libraries_info().get("libraries", []) + + @pytest.mark.xfail(HAS_MKL, reason=("`[DEFAULT]` override doesn't work if " + "numpy is built with MKL support")) def test_overrides(self): previousDir = os.getcwd() cfg = os.path.join(self._dir1, 'site.cfg') |
