1# helper to the helper for testing skip_file_prefixes. 2 3import os 4 5package_path = os.path.dirname(__file__) 6 7def inner_api(message, *, stacklevel, warnings_module): 8 warnings_module.warn( 9 message, stacklevel=stacklevel, 10 skip_file_prefixes=(package_path,)) 11