skip ipreceq tests on windows
Tests for dit.pid.measures.ipreceq.
"""
+import sys
import pytest
from dit import Distribution
@@ -9,6 +10,10 @@ from dit.pid.measures.ipreceq import PID_Preceq
from dit.pid.distributions import bivariates
+if sys.platform.startswith("win"):
+ pytest.skip("Skipping I_preceq tests as they require ppl which is not available on windows.", allow_module_level=True)
+
+
def test_pid_preceq1():
"""
Test ipreceq on a generic distribution.
