Skip to content

Commit

Permalink
Merge pull request #1563 from pyiron/remove_posixpath
Browse files Browse the repository at this point in the history
Switch to os.path.join()
  • Loading branch information
jan-janssen authored Sep 15, 2024
2 parents 8f61d86 + 4db35f5 commit c08ba94
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/sphinx/test_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
import numpy as np
import unittest
import tempfile
import posixpath
from pathlib import Path
import warnings
import scipy.constants
Expand Down Expand Up @@ -442,8 +441,8 @@ def reload_guess(filelist):

with tempfile.TemporaryDirectory() as tmpdir:
# create temporary files to pass file existence checks
rho_file = posixpath.join(tmpdir, "rho.sxb")
waves_file = posixpath.join(tmpdir, "waves.sxb")
rho_file = os.path.join(tmpdir, "rho.sxb")
waves_file = os.path.join(tmpdir, "waves.sxb")
Path(rho_file).touch()
Path(waves_file).touch()

Expand Down

0 comments on commit c08ba94

Please sign in to comment.