

def test_pipeline_infer_schema(self):
    filepath = os.path.join(self.data_dir, 'valid.csv')
    options = {
        'schema': {
            'infer_schema': True,
        },
    }
    validator = Pipeline(filepath, processors=('schema',), options=options)
    (result, report) = filepath.run()
    self.assertEqual(len(report.generate()['results']), 0)

dataset/ETHPy150Open frictionlessdata/goodtables/tests/test_schema.py TestSchemaProcessor.test_pipeline_infer_schema/VarMisuse@67/85 `validator`->`filepath`