Fix skipping in test/test_issue200.py
Skipping was done incorrectly and failed on Windows.
@@ -5,12 +5,14 @@ import rdflib
import unittest
import pytest
+
try:
from os import fork
from os import pipe
except ImportError:
-
- pytest.skip("No os.fork() and/or os.pipe() on this platform, skipping")
+ pytestmark = pytest.mark.skip(
+ reason="No os.fork() and/or os.pipe() on this platform, skipping"
+ )
class TestRandomSeedInFork(unittest.TestCase):
