Commit 0c3ffd4
authored
lib-rt tests: discover lib-rt source more flexibly (#21034)
When running the tests as part of Debian packaging, the current working
directory will not be the root of the unpacked mypy sdist/archive,
therefore searching parent directories will fail.
Use the `PREFIX` variable from `mypyc.test.config`, which will reflect
the value of the `MYPY_TEST_PREFIX` enviornment variable.1 parent c73021f commit 0c3ffd4
1 file changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
88 | 89 | | |
89 | 90 | | |
90 | 91 | | |
91 | | - | |
| 92 | + | |
92 | 93 | | |
93 | 94 | | |
94 | 95 | | |
| |||
0 commit comments