

def test_pipeline_report_stream_invalid(self):
    filepath = os.path.join(self.data_dir, 'valid.csv')
    report_stream = io.BufferedReader(io.BytesIO())
    options = {
        
    }
    args = [filepath]
    kwargs = {
        'report_stream': report_stream,
        'processors': ('schema',),
        'options': options,
    }
    self.assertRaises(exceptions.PipelineBuildError, Pipeline, *args, **args)

dataset/ETHPy150Open frictionlessdata/goodtables/tests/test_schema.py TestSchemaProcessor.test_pipeline_report_stream_invalid/VarMisuse@89/119 `kwargs`->`args`