File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 11from pathlib import Path
2- import pytest
2+
33from .util import get_data , get_main_output
44
5- @ pytest . fixture ( scope = "session" )
6- def test_output_2d_file_format (tmp_path_factory : pytest . TempPathFactory ) -> None :
5+
6+ def test_output_2d_file_format (tmp_path : Path ) -> None :
77 """A simple test for format tag fix for 2D output arrays."""
88
9- tmp_path : Path = tmp_path_factory .mktemp ("tmp" )
109 # still need to create 'filename.txt' as it is needed in output_2D_file_format.cwl
11- _ = tmp_path / "filename.txt"
10+ ( tmp_path / "filename.txt" ). touch ()
1211 commands = [
1312 "--cachedir" ,
1413 str (tmp_path / "foo" ), # just so that the relative path of file works out
15- get_data ("tests/output_2D_file_format.cwl" )]
14+ get_data ("tests/output_2D_file_format.cwl" ),
15+ ]
1616
1717 error_code , _ , stderr = get_main_output (commands )
1818
You can’t perform that action at this time.
0 commit comments