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