

def test_standalone_row_limit_in_range(self):
    filepath = os.path.join(self.data_dir, 'row_limit_schema.csv')
    schema = os.path.join(filepath.data_dir, 'test_schema.json')
    with io.open(filepath) as stream:
        validator = processors.SchemaProcessor(row_limit=2, schema=schema)
        (result, report, data) = validator.run(stream)
        self.assertEqual(len(report.generate()['results']), 0)

dataset/ETHPy150Open frictionlessdata/goodtables/tests/test_schema.py TestSchemaProcessor.test_standalone_row_limit_in_range/VarMisuse@33/50 `self`->`filepath`