Repository navigation
Commit 9d36db7
committed
Convert ndifftest to importlib for Python 3.12 support
Python 3.12 deprecated and removed the already deprecated and not
documented imp library (the load_source function was never documented)
Replace this with a modern alternative suggested by
python/cpython#104212.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>1 parent 39f23c8 commit 9d36db7
1 file changed
Lines changed: 15 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
16 | 29 | | |
17 | 30 | | |
18 | | - | |
| 31 | + | |
19 | 32 | | |
20 | 33 | | |
21 | 34 | | |
| |||
0 commit comments