Sign in
chromium
/
external
/
w3c
/
web-platform-tests
/
refs/tags/epochs/twelve_hourly/2021-02-19_12H
/
.
/
tools
/
wptrunner
/
wptrunner
/
process.py
blob: d3ff380ad08f262af04c81aa6de51d00be1e5246 [
file
] [
log
] [
blame
]
import
six
def
cast_env
(
env
):
"""Encode all the environment values as the appropriate type.
This assumes that all the data is or can be represented as UTF8"""
return
{
six
.
ensure_str
(
key
):
six
.
ensure_str
(
value
)
for
key
,
value
in
env
.
items
()}