File: test_cpp_fallback.py

package info (click to toggle)
rapidfuzz 3.12.2%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,436 kB
  • sloc: python: 7,571; cpp: 7,481; sh: 30; makefile: 23
file content (7 lines) | stat: -rw-r--r-- 198 bytes parent folder | download
1
2
3
4
5
6
7
# simple test to ensure the C++ version is not missing any symbols
from __future__ import annotations

import os

os.environ["RAPIDFUZZ_IMPLEMENTATION"] = "cpp"
import rapidfuzz  # noqa: E402, F401