Skip to content

Commit

Permalink
test: makedir for safe.
Browse files Browse the repository at this point in the history
  • Loading branch information
FFengIll committed Mar 22, 2024
1 parent 2f19156 commit 0722c06
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/test_regression.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ def input_path(self):

@property
def output_path(self):
return Path("./output/{}".format(self.input))
output = Path("./output/{}".format(self.input))
output.dirname().makedirs_p()
return output


def test_regression() -> None:
Expand Down

0 comments on commit 0722c06

Please sign in to comment.