nyx/tests/dynamic_fixtures/python/fileio_unsupported.py

11 lines
244 B
Python
Raw Permalink Normal View History

2026-06-05 10:16:30 -05:00
"""File I/O — unsupported fixture (low confidence).
Expected verdict: Unsupported(ConfidenceTooLow)
"""
def read_config(path):
"""Vulnerable function in unsupported-confidence test."""
with open(path) as f:
return f.read()