File: test_pytype.py

package info (click to toggle)
vulture 2.14-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 464 kB
  • sloc: python: 3,254; makefile: 12
file content (11 lines) | stat: -rw-r--r-- 234 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
import subprocess
import sys

import pytest


@pytest.mark.skipif(
    sys.version_info >= (3, 13), reason="needs Python < 3.13 for pytype"
)
def test_pytype():
    assert subprocess.run(["pytype", "vulture/core.py"]).returncode == 0