Skip to content

Commit

Permalink
skip python 3.12 for win nt plotting
Browse files Browse the repository at this point in the history
  • Loading branch information
akaszynski committed Oct 31, 2023
1 parent 3df5fd7 commit 604a726
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/test_archive.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""Test ``mapdl_archive/archive.py``."""
import os
import pathlib
import sys

import numpy as np
import pytest
Expand All @@ -12,8 +13,10 @@
import mapdl_archive
from mapdl_archive import Archive, _archive, archive, examples

# Windows issues Python 3.12
WIN_PY312 = sys.version_info.minor == 12 and os.name == "nt"
skip_plotting = pytest.mark.skipif(
not system_supports_plotting(), reason="Requires active X Server"
WIN_PY312 or not system_supports_plotting(), reason="Requires active X Server"
)

LINEAR_CELL_TYPES = [
Expand Down

0 comments on commit 604a726

Please sign in to comment.