Skip to content

Commit

Permalink
✅ Skip e2e tests for mako on windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
Raphael Krupinski committed Feb 9, 2024
1 parent 1c0958f commit 833e693
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/test_render.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import sys
from itertools import product
from pathlib import Path
from typing import Any, Callable, Iterable, Mapping, NamedTuple, Optional
Expand Down Expand Up @@ -95,6 +96,9 @@ def test_render(
excluded: Iterable,
tmp_path: Path,
) -> None:
if adapter_name == 'mako' and sys.platform == 'win32':
pytest.skip('Mako has problem with line endings on windows')

root = Path(__file__).parent / 'test_render'
target_path = tmp_path / f'{adapter_name}_{test_name}'
target_path.mkdir()
Expand Down

0 comments on commit 833e693

Please sign in to comment.