mirror of
https://github.com/servo/servo.git
synced 2025-08-09 07:25:35 +01:00
Update web-platform-tests to 887399d3d0a85d0e27a6688ae384459376adf7ca
This commit is contained in:
parent
a900196b3f
commit
8ea56eabaa
44 changed files with 178 additions and 77 deletions
|
@ -21,6 +21,12 @@ def is_blacklisted(url):
|
|||
return True
|
||||
return False
|
||||
|
||||
def from_os_path(path):
|
||||
return path.replace(os.path.sep, "/")
|
||||
|
||||
def to_os_path(path):
|
||||
return path.replace("/", os.path.sep)
|
||||
|
||||
class ContextManagerStringIO(StringIO):
|
||||
def __enter__(self):
|
||||
return self
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue