Skip to content

Replace AssertionErrors with more meaningful errors #5074

@mariosasko

Description

@mariosasko

Replace the AssertionErrors with more meaningful errors such as ValueError, TypeError, etc.

The files with AssertionErrors that need to be replaced:

src/datasets/arrow_reader.py
src/datasets/builder.py
src/datasets/utils/version.py

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions