def test_pipeline_row_limit_out_range(self):

        filepath = os.path.join(self.data_dir, 'valid.csv')
        limit = Pipeline.ROW_LIMIT_MAX
        validator = Pipeline(filepath, processors=('schema',), row_limit=(limit + 1))

        self.assertEqual(validator.row_limit, limit)
        self.assertEqual(validator.pipeline[0].row_limit, limit)
dataset/ETHPy150Open frictionlessdata/goodtables/tests/test_schema.py/TestSchemaProcessor.test_pipeline_row_limit_out_range/original