equal
deleted
inserted
replaced
220 return cwd |
220 return cwd |
221 |
221 |
222 |
222 |
223 # For Windows support |
223 # For Windows support |
224 wifexited = getattr(os, "WIFEXITED", lambda x: False) |
224 wifexited = getattr(os, "WIFEXITED", lambda x: False) |
225 |
|
226 |
225 |
227 # Whether to use IPv6 |
226 # Whether to use IPv6 |
228 def checksocketfamily(name, port=20058): |
227 def checksocketfamily(name, port=20058): |
229 """return true if we can listen on localhost using family=name |
228 """return true if we can listen on localhost using family=name |
230 |
229 |
3396 |
3395 |
3397 if not ( |
3396 if not ( |
3398 os.path.basename(t).startswith(b'test-') |
3397 os.path.basename(t).startswith(b'test-') |
3399 and (t.endswith(b'.py') or t.endswith(b'.t')) |
3398 and (t.endswith(b'.py') or t.endswith(b'.t')) |
3400 ): |
3399 ): |
|
3400 |
3401 m = testcasepattern.match(os.path.basename(t)) |
3401 m = testcasepattern.match(os.path.basename(t)) |
3402 if m is not None: |
3402 if m is not None: |
3403 t_basename, casestr = m.groups() |
3403 t_basename, casestr = m.groups() |
3404 t = os.path.join(os.path.dirname(t), t_basename) |
3404 t = os.path.join(os.path.dirname(t), t_basename) |
3405 if casestr: |
3405 if casestr: |