Commit 741f971
committed
Align WSL detection helpers
Remove the environment-variable fallback from cuda_python_test_helpers._detect_wsl so the test helper matches cuda.core's /proc-based WSL detection. Add comments to both copies to keep the duplicated implementations synchronized.
Xref: https://github.com/NVIDIA/cuda-python/pull/2118/changes#r32787202241 parent b78cdb5 commit 741f971
2 files changed
Lines changed: 5 additions & 3 deletions
File tree
- cuda_core/cuda/core/system
- cuda_python_test_helpers/cuda_python_test_helpers
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
14 | 16 | | |
15 | 17 | | |
16 | 18 | | |
| |||
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
18 | 20 | | |
19 | 21 | | |
20 | 22 | | |
21 | 23 | | |
22 | | - | |
23 | | - | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
0 commit comments