Remove use of deprecated tempfile.mktemp

This commit is contained in:
Andrej730
2026-03-17 13:28:11 +05:00
parent b8d3d1d105
commit 515fe8d2ef
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -365,7 +365,7 @@ class TestLoadingIfcSqlite(NewFile):
sql_type="SQLite",
)
patcher.patch()
tmp_file = Path(tempfile.mktemp(suffix=".ifcsqlite"))
tmp_file = Path(tempfile.mkstemp(suffix=".ifcsqlite")[1])
ifcpatch.write(patcher.get_output(), tmp_file)
elements_with_meshes = [