Update web-platform-tests to revision 66f38302334f162d363afcf4a1792d895072f3ef

This commit is contained in:
WPT Sync Bot 2018-06-13 21:09:34 -04:00
parent 36f5b69224
commit b198cd722a
622 changed files with 3374 additions and 2001 deletions

View file

@ -1,4 +1 @@
from . import item
from . import manifest
from . import sourcefile
from . import update
from . import item, manifest, sourcefile, update # noqa: F401

View file

@ -1,6 +1,5 @@
import os
from six.moves.urllib.parse import urljoin
from abc import ABCMeta, abstractmethod, abstractproperty
from abc import ABCMeta, abstractproperty
def get_source_file(source_files, tests_root, manifest, path):

View file

@ -6,7 +6,7 @@ from six import iteritems, itervalues, viewkeys, string_types
from .item import ManualTest, WebdriverSpecTest, Stub, RefTestNode, RefTest, TestharnessTest, SupportFile, ConformanceCheckerTest, VisualTest
from .log import get_logger
from .utils import from_os_path, to_os_path, rel_path_to_url
from .utils import from_os_path, to_os_path
CURRENT_VERSION = 4

View file

@ -12,7 +12,7 @@ except ImportError:
import html5lib
from . import XMLParser
from .item import Stub, ManualTest, WebdriverSpecTest, RefTestNode, RefTest, TestharnessTest, SupportFile, ConformanceCheckerTest, VisualTest
from .item import Stub, ManualTest, WebdriverSpecTest, RefTestNode, TestharnessTest, SupportFile, ConformanceCheckerTest, VisualTest
from .utils import rel_path_to_url, ContextManagerBytesIO, cached_property
wd_pattern = "*.py"
@ -262,6 +262,7 @@ class SourceFile(object):
be a non-test file"""
return (self.is_dir() or
self.name_prefix("MANIFEST") or
self.filename == "META.yml" or
self.filename.startswith(".") or
self.type_flag == "support" or
self.in_non_test_dir())

View file

@ -1,4 +1,3 @@
import platform
import os
import mock
@ -8,7 +7,7 @@ import hypothesis.strategies as hs
import pytest
from .. import manifest, item, sourcefile, utils
from .. import manifest, item, utils
def SourceFileWithTest(path, hash, cls, *args):

View file

@ -1,8 +1,6 @@
#!/usr/bin/env python
import argparse
import imp
import os
import sys
import manifest
from . import vcs