Commit 9a219c6
committed
Lib: Add pathlib test for missing symlink support
This adds a test case to test_pathlib.py to test the NotImplementedError
raised when symlink support is not present on the system. Also add the
missing @staticmethod decorator to the function definition in pathlib.py
for that error path.
Signed-off-by: Toke Høiland-Jørgensen <toke@redhat.com>1 parent 2eb0150 commit 9a219c6
2 files changed
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
435 | 435 | | |
436 | 436 | | |
437 | 437 | | |
| 438 | + | |
438 | 439 | | |
439 | 440 | | |
440 | 441 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2021 | 2021 | | |
2022 | 2022 | | |
2023 | 2023 | | |
| 2024 | + | |
| 2025 | + | |
| 2026 | + | |
| 2027 | + | |
| 2028 | + | |
| 2029 | + | |
| 2030 | + | |
| 2031 | + | |
| 2032 | + | |
2024 | 2033 | | |
2025 | 2034 | | |
2026 | 2035 | | |
| |||
0 commit comments