Skip to content

Commit f0ec39e

Browse files
committed
changed option for pytest.ini to run on pytest < 7.4
1 parent 4a639d7 commit f0ec39e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/test_encoding.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ def test_basic_file_encoding_diff(testdir, capsys, basic_file, charset, ini_file
9999
testdir.inline_run(
100100
file,
101101
"--doctest-plus-generate-diff",
102-
"--config-file",
102+
"-c",
103103
str(ini),
104104
)
105105

@@ -125,7 +125,7 @@ def test_basic_file_encoding_overwrite(testdir, basic_file, charset, ini_file):
125125
file,
126126
"--doctest-plus-generate-diff",
127127
"overwrite",
128-
"--config-file",
128+
"-c",
129129
str(ini),
130130
)
131131

0 commit comments

Comments
 (0)