Issue bytes vs str related warnings from tests (#101186)
parent
5cde367366
commit
fd5cda4ec6
|
@ -747,7 +747,7 @@ jobs:
|
|||
cov_params+=(--cov-report=xml)
|
||||
fi
|
||||
|
||||
python3 -X dev -m pytest \
|
||||
python3 -b -X dev -m pytest \
|
||||
-qq \
|
||||
--timeout=9 \
|
||||
--durations=10 \
|
||||
|
@ -784,7 +784,7 @@ jobs:
|
|||
cov_params+=(--cov-report=term-missing)
|
||||
fi
|
||||
|
||||
python3 -X dev -m pytest \
|
||||
python3 -b -X dev -m pytest \
|
||||
-qq \
|
||||
--timeout=9 \
|
||||
-n auto \
|
||||
|
@ -905,7 +905,7 @@ jobs:
|
|||
cov_params+=(--cov-report=term-missing)
|
||||
fi
|
||||
|
||||
python3 -X dev -m pytest \
|
||||
python3 -b -X dev -m pytest \
|
||||
-qq \
|
||||
--timeout=20 \
|
||||
-n 1 \
|
||||
|
@ -1029,7 +1029,7 @@ jobs:
|
|||
cov_params+=(--cov-report=term-missing)
|
||||
fi
|
||||
|
||||
python3 -X dev -m pytest \
|
||||
python3 -b -X dev -m pytest \
|
||||
-qq \
|
||||
--timeout=9 \
|
||||
-n 1 \
|
||||
|
|
|
@ -224,6 +224,7 @@ async def main():
|
|||
|
||||
code, _ = await async_exec(
|
||||
"python3",
|
||||
"-b",
|
||||
"-m",
|
||||
"pytest",
|
||||
"-vv",
|
||||
|
|
|
@ -103,10 +103,11 @@ def main():
|
|||
|
||||
if args.develop:
|
||||
print("Running tests")
|
||||
print(f"$ python3 -m pytest -vvv tests/components/{info.domain}")
|
||||
print(f"$ python3 -b -m pytest -vvv tests/components/{info.domain}")
|
||||
subprocess.run(
|
||||
[
|
||||
"python3",
|
||||
"-b",
|
||||
"-m",
|
||||
"pytest",
|
||||
"-vvv",
|
||||
|
|
Loading…
Reference in New Issue