Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b00e8a7

Browse files
committed
test_path: revive match tests
These tests had not been running on Nose and I did not spot that previously.
1 parent 66843b1 commit b00e8a7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

IPython/utils/tests/test_path.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ def test_match_posix(self):
390390
([r'a\*', 'a*'], ['a*'] + self.filenames_start_with_a),
391391
([r'a\[012]'], ['a[012]']),
392392
]:
393-
yield (self.check_match, patterns, matches)
393+
self.check_match(patterns, matches)
394394

395395
@skip_if_not_win32
396396
def test_match_windows(self):
@@ -401,7 +401,7 @@ def test_match_windows(self):
401401
([r'a\*', 'a*'], [r'a\*'] + self.filenames_start_with_a),
402402
([r'a\[012]'], [r'a\[012]']),
403403
]:
404-
yield (self.check_match, patterns, matches)
404+
self.check_match(patterns, matches)
405405

406406

407407
# TODO : pytest.mark.parametrise once nose is gone.

0 commit comments

Comments
 (0)