Skip to content

Commit

Permalink
[#367] Fix DisplayCAL.task_scheduler tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
eoyilmaz committed Oct 9, 2024
1 parent 8b882ab commit ab410e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_taskscheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
import pytest
import sys

from DisplayCAL.taskscheduler import ExecAction


@pytest.mark.skipif(sys.platform != "win32", reason="requires Windows")
def test_execaction_filters_none_values_in_args_and_will_not_raise_errors():
"""ExecAction will filter any None values in the args list and will not raise any errors."""
from DisplayCAL.taskscheduler import ExecAction

ea = ExecAction(cmd="", args=[None]) # This should not raise any errors.

0 comments on commit ab410e5

Please sign in to comment.