This repository was archived by the owner on Nov 11, 2024. It is now read-only.
Repository navigation
Commit 2f58cbe
committed
Catch broad class of exceptions when attempting to import from astropy.tests--I found at least one case where, on older versions of Astropy, that 'import astropy.tests' results in loading the bundled pytest which fails for some reason.
1 parent cd0f1b2 commit 2f58cbe
1 file changed
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
15 | 20 | | |
16 | 21 | | |
17 | 22 | | |
18 | 23 | | |
19 | | - | |
| 24 | + | |
20 | 25 | | |
21 | | - | |
| 26 | + | |
22 | 27 | | |
23 | 28 | | |
24 | 29 | | |
| |||
0 commit comments