Update web-platform-tests to revision 7a6f5673ff5d146ca5c09c6a1b42b7706cfee328

This commit is contained in:
WPT Sync Bot 2018-06-28 21:05:13 -04:00
parent e2fca1b228
commit 4787b28da3
261 changed files with 8195 additions and 4689 deletions

View file

@ -1,6 +1,5 @@
import platform
import os
import sys
from hypothesis import settings, HealthCheck
@ -12,14 +11,3 @@ settings.register_profile("pypy", settings(suppress_health_check=[HealthCheck.to
settings.load_profile(os.getenv("HYPOTHESIS_PROFILE",
"default" if impl != "PyPy" else "pypy"))
# these can't even be imported on Py3, so totally ignore it even from collection
ignore_dirs = ["serve", "wptserve"]
collect_ignore = []
if sys.version_info[0] >= 3:
for d in ignore_dirs:
path = os.path.join(os.path.dirname(__file__), d)
collect_ignore.extend([os.path.join(root, f)
for root, _, files in os.walk(path)
for f in files])