Skip to content

Commit 811741a

Browse files
committed
skip pdf testi n ci
1 parent 9f830b3 commit 811741a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -620,6 +620,8 @@ def test_conversion_from_non_plain_text_file(self):
620620
received = pypandoc.convert_file(file_name, to="rst")
621621
self.assertEqualExceptForNewlineEnd(expected, received)
622622

623+
# skip in ci
624+
@unittest.skipIf(os.environ.get("CI") == "true", "Skipping PDF conversion test in CI environment")
623625
def test_pdf_conversion(self):
624626
with closed_tempfile(".pdf") as file_name:
625627
ret = pypandoc.convert_text(

0 commit comments

Comments
 (0)