Update web-platform-tests to revision d3cf77a7b8c20c678b725238eaa8a72eca3787ae

This commit is contained in:
WPT Sync Bot 2019-04-25 22:18:37 -04:00
parent 880f3b8b7a
commit efca990ffe
541 changed files with 8000 additions and 2276 deletions

View file

@ -3,6 +3,11 @@ from six import iteritems
from six.moves.urllib.parse import urljoin, urlparse
from abc import ABCMeta, abstractproperty
MYPY = False
if MYPY:
# MYPY is set to True when run under Mypy.
from typing import Optional
item_types = {}
@ -24,7 +29,7 @@ class ManifestItem(object):
__slots__ = ("_tests_root", "path")
item_type = None
item_type = None # type: Optional[str]
def __init__(self, tests_root=None, path=None):
self._tests_root = tests_root