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