Skip to content

Commit cb0f8a6

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 0262fd3 commit cb0f8a6

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

testing/test_assertion.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2199,8 +2199,10 @@ def test_vvv():
21992199
)
22002200
result.stdout.no_fnmatch_line(expected_non_vvv_arg_line)
22012201

2202+
22022203
import re
22032204

2205+
22042206
def test_dict_extra_items_preserve_insertion_order(pytester):
22052207
pytester.makepyfile(
22062208
test_order="""
@@ -2221,7 +2223,8 @@ def test_order():
22212223
assert "Left contains 2 more items:" in stdout
22222224

22232225
dict_line = next(
2224-
line for line in stdout.splitlines()
2226+
line
2227+
for line in stdout.splitlines()
22252228
if "{" in line and "}" in line and "first" in line
22262229
)
22272230

@@ -2230,4 +2233,3 @@ def test_order():
22302233

22312234
assert first != -1 and second != -1
22322235
assert first < second
2233-

0 commit comments

Comments
 (0)