File: test_printouts.py

package info (click to toggle)
scikit-build-core 0.11.6-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,588 kB
  • sloc: python: 14,643; ansic: 254; cpp: 134; sh: 27; fortran: 18; makefile: 7
file content (14 lines) | stat: -rw-r--r-- 322 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
from __future__ import annotations

from typing import TYPE_CHECKING

from scikit_build_core.builder.__main__ import main

if TYPE_CHECKING:
    import pytest


def test_builder_printout(capsys: pytest.CaptureFixture[str]) -> None:
    main()
    out, err = capsys.readouterr()
    assert "Detected Python Library" in out