Decorator that marks a test as requiring a POSIX-flavoured path class.
(fn)
| 59 | _tests_needing_symlinks = set() |
| 60 | |
| 61 | def needs_posix(fn): |
| 62 | """Decorator that marks a test as requiring a POSIX-flavoured path class.""" |
| 63 | _tests_needing_posix.add(fn.__name__) |
| 64 | return fn |
| 65 | |
| 66 | def needs_windows(fn): |
| 67 | """Decorator that marks a test as requiring a Windows-flavoured path class.""" |