File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
tests/tests_fabric/loggers Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 1414import csv
1515import itertools
1616import os
17- from typing import Dict , List , Set , Tuple
1817from unittest import mock
1918from unittest .mock import MagicMock
2019
@@ -209,8 +208,8 @@ def test_append_columns(tmp_path):
209208
210209def _assert_csv_content (
211210 path : str ,
212- expected_headers : Set [str ],
213- expected_content : List [ Dict [str , str ]],
211+ expected_headers : set [str ],
212+ expected_content : list [ dict [str , str ]],
214213) -> None :
215214 """Verifies the content of a local csv file with the expected ones."""
216215 headers , content = _read_csv (path )
@@ -219,7 +218,7 @@ def _assert_csv_content(
219218 assert actual == expected
220219
221220
222- def _read_csv (path : str ) -> Tuple [ Set [str ], List [ Dict [str , str ]]]:
221+ def _read_csv (path : str ) -> tuple [ set [str ], list [ dict [str , str ]]]:
223222 """Reads a local csv file and returns the headers and content."""
224223 with open (path ) as file :
225224 reader = csv .DictReader (file )
You can’t perform that action at this time.
0 commit comments