File: conftest.py

package info (click to toggle)
pytest-subprocess 1.5.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 444 kB
  • sloc: python: 2,319; makefile: 17
file content (13 lines) | stat: -rw-r--r-- 225 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
import faulthandler
import os
import sys

import pytest

pytest_plugins = "pytester"
faulthandler.enable(file=sys.stderr, all_threads=True)


@pytest.fixture(autouse=True)
def setup():
    os.chdir(os.path.dirname(__file__))