We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 146b2ed commit d75856fCopy full SHA for d75856f
autotest/ogr/ogr_sxf.py
@@ -71,11 +71,11 @@ def test_ogr_sxf_2():
71
# Open SXF datasource with custom RSC file.
72
73
74
-def test_ogr_sxf_3():
+def test_ogr_sxf_3(tmp_path):
75
76
lyr_names = ["SYSTEM", "Not_Classified"]
77
- sxf_name = "tmp/test_ogr_sxf_3.sxf"
78
- rsc_name = "tmp/test_ogr_sxf_3.rsc"
+ sxf_name = str(tmp_path / "test_ogr_sxf_3.sxf")
+ rsc_name = str(tmp_path / "test_ogr_sxf_3.rsc")
79
fake_rsc = open(rsc_name, "w")
80
fake_rsc.close()
81
shutil.copy("data/sxf/100_test.sxf", sxf_name)
0 commit comments