Repository navigation
Commit 2241dff
committed
Move the remaining test os.path calls to pathlib
The three os.path.abspath assertions in test_find_nvidia_binaries.py become
str(...absolute()), and the os.path.isdir in test_utils_find_sub_dirs.py
becomes Path.is_dir(). import os stays in the binaries test for os.sep.1 parent 8e3d5c7 commit 2241dff
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
571 | 571 | | |
572 | 572 | | |
573 | 573 | | |
574 | | - | |
| 574 | + | |
575 | 575 | | |
576 | 576 | | |
577 | 577 | | |
| |||
592 | 592 | | |
593 | 593 | | |
594 | 594 | | |
595 | | - | |
| 595 | + | |
596 | 596 | | |
597 | 597 | | |
598 | 598 | | |
| |||
637 | 637 | | |
638 | 638 | | |
639 | 639 | | |
640 | | - | |
| 640 | + | |
641 | 641 | | |
642 | 642 | | |
643 | 643 | | |
| |||
0 commit comments