Show More
@@ -2794,9 +2794,10 b' class TestRunner(object):' | |||||
2794 | if not (os.path.basename(t).startswith(b'test-') |
|
2794 | if not (os.path.basename(t).startswith(b'test-') | |
2795 | and (t.endswith(b'.py') or t.endswith(b'.t'))): |
|
2795 | and (t.endswith(b'.py') or t.endswith(b'.t'))): | |
2796 |
|
2796 | |||
2797 | m = testcasepattern.match(t) |
|
2797 | m = testcasepattern.match(os.path.basename(t)) | |
2798 | if m is not None: |
|
2798 | if m is not None: | |
2799 | t, _, casestr = m.groups() |
|
2799 | t_basename, _, casestr = m.groups() | |
|
2800 | t = os.path.join(os.path.dirname(t), t_basename) | |||
2800 | if casestr: |
|
2801 | if casestr: | |
2801 | case = casestr.split(b'#') |
|
2802 | case = casestr.split(b'#') | |
2802 | else: |
|
2803 | else: |
General Comments 0
You need to be logged in to leave comments.
Login now