mirror of
https://github.com/servo/servo.git
synced 2025-09-11 07:28:19 +01:00
Update web-platform-tests to revision d3cf77a7b8c20c678b725238eaa8a72eca3787ae
This commit is contained in:
parent
880f3b8b7a
commit
efca990ffe
541 changed files with 8000 additions and 2276 deletions
|
@ -10,8 +10,15 @@ from .item import (ManualTest, WebDriverSpecTest, Stub, RefTestNode, RefTest,
|
|||
from .log import get_logger
|
||||
from .utils import from_os_path, to_os_path
|
||||
|
||||
MYPY = False
|
||||
if MYPY:
|
||||
# MYPY is set to True when run under Mypy.
|
||||
from typing import Dict
|
||||
from types import ModuleType
|
||||
|
||||
try:
|
||||
import ujson as fast_json
|
||||
import ujson
|
||||
fast_json = ujson # type: ModuleType
|
||||
except ImportError:
|
||||
fast_json = json
|
||||
|
||||
|
@ -418,7 +425,7 @@ def load(tests_root, manifest, types=None):
|
|||
return _load(logger, tests_root, manifest, types)
|
||||
|
||||
|
||||
__load_cache = {}
|
||||
__load_cache = {} # type: Dict[str, Manifest]
|
||||
|
||||
|
||||
def _load(logger, tests_root, manifest, types=None, allow_cached=True):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue