We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2c270b8 commit e653fa9Copy full SHA for e653fa9
testing/python/fixtures.py
@@ -4544,7 +4544,7 @@ def test_basing_fixture_argkeys_on_param_values_rather_than_on_param_indices(
4544
pytester: Pytester,
4545
):
4546
package = pytester.mkdir("package")
4547
- package.joinpath("__init__.py").write_text("")
+ package.joinpath("__init__.py").write_text("", encoding="utf-8")
4548
package.joinpath("test_a.py").write_text(
4549
textwrap.dedent(
4550
f"""\
@@ -4574,6 +4574,7 @@ def test_4(param):
4574
pass
4575
"""
4576
),
4577
+ encoding="utf-8",
4578
)
4579
result = pytester.runpytest("--collect-only")
4580
result.stdout.re_match_lines(
0 commit comments