Skip to content

Commit

Permalink
fix platform check
Browse files Browse the repository at this point in the history
  • Loading branch information
PaleNeutron committed Sep 15, 2024
1 parent 037db1a commit 0e16546
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_convert.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import os
from pathlib import Path
from sys import platform

import pytest

Expand All @@ -26,7 +26,7 @@
class TestConvertPDF:
def test_to_pdf(self, document_name, filename, use, execute, no_input):
# skip this test if os is osx and use is latex
if use == "latex" and os.uname().system == "Darwin":
if use == "latex" and platform == "darwin":
pytest.skip("Skip test for latex on osx")
convert(
filename,
Expand Down

0 comments on commit 0e16546

Please sign in to comment.