import sys
from functools import partial

import pytest

skip_on_windows = partial(pytest.mark.skipif, sys.platform == "win32")


def _skip_module_on(reason: str, predicate: bool):
    if predicate:
        pytest.skip(reason, allow_module_level=True)


skip_module_on_windows = partial(
    _skip_module_on, predicate=sys.platform == "win32"
)

4537018fb067e155bd73fa3efb3aa0fa3d4fa4d3
<mask token>

<mask token>


def _skip_module_on(reason: str, predicate: bool):
    if predicate:
        pytest.skip(reason, allow_module_level=True)


<mask token>

<mask token>
skip_on_windows = partial(pytest.mark.skipif, sys.platform == 'win32')


def _skip_module_on(reason: str, predicate: bool):
    if predicate:
        pytest.skip(reason, allow_module_level=True)


skip_module_on_windows = partial(_skip_module_on, predicate=sys.platform ==
    'win32')

import sys
from functools import partial
import pytest
skip_on_windows = partial(pytest.mark.skipif, sys.platform == 'win32')


def _skip_module_on(reason: str, predicate: bool):
    if predicate:
        pytest.skip(reason, allow_module_level=True)


skip_module_on_windows = partial(_skip_module_on, predicate=sys.platform ==
    'win32')

import sys
from functools import partial

import pytest

skip_on_windows = partial(pytest.mark.skipif, sys.platform == "win32")


def _skip_module_on(reason: str, predicate: bool):
    if predicate:
        pytest.skip(reason, allow_module_level=True)


skip_module_on_windows = partial(
    _skip_module_on, predicate=sys.platform == "win32"
)
