Searched refs:fail_c (Results 1 – 1 of 1) sorted by relevance
36 def test_yaml_imports(fail_c): argument39 if fullname == 'yaml.CLoader' and fail_c:41 if fullname == 'yaml.CSafeLoader' and fail_c:43 if fullname == 'yaml.CDumper' and fail_c:60 if not fail_c:76 assert sys.modules['scl'].Loader == loader_mock if fail_c else \79 assert sys.modules['scl'].SafeLoader == safeloader_mock if fail_c else \82 assert sys.modules['scl'].Dumper == dumper_mock if fail_c else \