diff options
Diffstat (limited to 'tests/path.py')
| -rw-r--r-- | tests/path.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/path.py b/tests/path.py index b4829662..5ce1d118 100644 --- a/tests/path.py +++ b/tests/path.py @@ -353,7 +353,7 @@ class path(_base): whose names match the given pattern. For example, d.files('*.pyc'). """ - + return [p for p in self.listdir(pattern) if p.isfile()] def walk(self, pattern=None, errors='strict'): |
