-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
30801bc
commit 1a115c9
Showing
2 changed files
with
2 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
import pytest | ||
|
||
from brainglobe_utils.general.exceptions import CommandLineInputError | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
from pathlib import Path | ||
|
||
from brainglobe_utils.general.pathlib import append_to_pathlib_stem | ||
|
||
|
||
def test_append_to_pathlib_stem(): | ||
path = Path("path", "to", "file.txt") | ||
appended_path = append_to_pathlib_stem(path, "_appended") | ||
assert appended_path == Path("path", "to", "file_appended.txt") | ||
|