Skip to content

Commit a8318d9

Browse files
committed
Fix test because of non-ordered dicts python 3.7.
1 parent 564d6a6 commit a8318d9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/test_csv.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -1941,7 +1941,8 @@ def test_multiple_invalid_items(
19411941
[
19421942
[{"some": "data"}, [1, 2, 3]],
19431943
TypeError,
1944-
r"All elements of the array must be of the same type instead of \{<class 'dict'>, <class 'list'>\}.",
1944+
r"All elements of the array must be of the same type instead of "
1945+
r"\{(?:<class 'dict'>|, |<class 'list'>)+\}\.",
19451946
],
19461947
# Array of arrays
19471948
[

0 commit comments

Comments
 (0)