-from unittest import TestCase, skipIf\r
+import pytest\r
\r
import subprocess\r
import os\r
import sys\r
\r
\r
-class TestLargeGraphs(TestCase):\r
- @skipIf(sys.platform == 'win32', reason='https://gitlab.com/graphviz/graphviz/-/issues/1710')\r
+class TestLargeGraphs():\r
+ @pytest.mark.skipif(sys.platform == 'win32', reason='https://gitlab.com/graphviz/graphviz/-/issues/1710')\r
def test_long_chain(self):\r
"""\r
This test will fail on 32bit Windows machine if compiled with stack size < 16MB.\r
# messages as an error, failing the pipeline. So we must redirect
# stderr to stdout. The line noise at the end does so. See
# https://stackoverflow.com/a/20950421/171898 for explanation.
-python -m unittest discover large 2>&1 | %{ "$_" }
+python -m pytest large 2>&1 | %{ "$_" }