Repository navigation
Commit 64e1eb1
committed
Review: drop os.path from the two _dynamic_libs test files
Follow-up to mdboom's review. test_search_steps.py and test_ctk_root_discovery.py
were already os.path-free; test_driver_lib_loading.py and
test_load_nvidia_dynamic_lib.py each had one os.path.isfile left, now
Path(...).is_file(). The remaining os. uses in both files are os.environ.
The other cuda_pathfinder test files that still use os.path cover _binaries,
_headers, _static_libs and _utils -- other parts of NVIDIA#2410, not this one.1 parent 2bda8e8 commit 64e1eb1
2 files changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
157 | 158 | | |
158 | 159 | | |
159 | 160 | | |
160 | | - | |
| 161 | + | |
161 | 162 | | |
162 | 163 | | |
163 | 164 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
159 | 160 | | |
160 | 161 | | |
161 | 162 | | |
162 | | - | |
| 163 | + | |
0 commit comments