Skip to content

Commit 7a71253

Browse files
committed
Convert non-thread-skipping from unittest to pytest
1 parent e1f46d6 commit 7a71253

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

testsuite/pytests/mpi/4/test_consistent_local_vps.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,11 @@
1919
# You should have received a copy of the GNU General Public License
2020
# along with NEST. If not, see <http://www.gnu.org/licenses/>.
2121

22-
import unittest
23-
2422
import nest
25-
26-
HAVE_OPENMP = nest.ll_api.sli_func("is_threaded")
23+
import pytest
2724

2825

29-
@unittest.skipIf(not HAVE_OPENMP, "NEST was compiled without multi-threading")
26+
@pytest.mark.skipif_missing_threads
3027
def test_consistent_local_vps():
3128
"""
3229
Test local_vps field of kernel status.

0 commit comments

Comments
 (0)