[ENH] Replace asserts with proper if else Exception handling
#2570
| Job | Run time |
|---|---|
| 1m 26s | |
| 1m 26s |
asserts with proper if else Exception handling
#2570
| Job | Run time |
|---|---|
| 1m 26s | |
| 1m 26s |