Skip to content

Commit e653fa9

Browse files
Fix a tiny bug in a test
1 parent 2c270b8 commit e653fa9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

testing/python/fixtures.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4544,7 +4544,7 @@ def test_basing_fixture_argkeys_on_param_values_rather_than_on_param_indices(
45444544
pytester: Pytester,
45454545
):
45464546
package = pytester.mkdir("package")
4547-
package.joinpath("__init__.py").write_text("")
4547+
package.joinpath("__init__.py").write_text("", encoding="utf-8")
45484548
package.joinpath("test_a.py").write_text(
45494549
textwrap.dedent(
45504550
f"""\
@@ -4574,6 +4574,7 @@ def test_4(param):
45744574
pass
45754575
"""
45764576
),
4577+
encoding="utf-8",
45774578
)
45784579
result = pytester.runpytest("--collect-only")
45794580
result.stdout.re_match_lines(

0 commit comments

Comments
 (0)