(inclusive, filename, pattern)
| 776 | |
| 777 | def test_filter_match_filename(self): |
| 778 | def fnmatch(inclusive, filename, pattern): |
| 779 | f = tracemalloc.Filter(inclusive, pattern) |
| 780 | return f._match_frame(filename, 0) |
| 781 | |
| 782 | self.assertTrue(fnmatch(True, "abc", "abc")) |
| 783 | self.assertFalse(fnmatch(True, "12356", "abc")) |
no test coverage detected