File: conftest.py

package info (click to toggle)
asciidoc 10.2.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 7,060 kB
  • sloc: xml: 17,324; python: 8,192; javascript: 4,101; sh: 451; makefile: 110
file content (9 lines) | stat: -rw-r--r-- 184 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
from asciidoc import set_future_compat, set_legacy_compat
import pytest


@pytest.fixture
def enable_future_compat() -> None:
    set_future_compat()
    yield
    set_legacy_compat()