forked from mne-tools/mne-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CI: Dont check for dev0 in maint branches (mne-tools#11003)
* CI: Dont check for dev0 in maint branches [skip actions] [skip circle] * FIX: Import check [skip actions] [skip circle] * FIX: No need for extra print * FIX: Forgot [skip actions] [skip circle] * FIX: Err [skip actions] [skip circle]
- Loading branch information
Showing
2 changed files
with
11 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
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/usr/bin/env python | ||
|
||
from pathlib import Path | ||
import mne | ||
want_mne_dir = Path(__file__).parent.parent / 'mne' | ||
got_mne_dir = Path(mne.__file__).parent | ||
want_mne_dir = want_mne_dir.resolve() | ||
got_mne_dir = got_mne_dir.resolve() | ||
print(f'Expected import mne from:\n{want_mne_dir}\nAnd got:\n{got_mne_dir}') | ||
assert want_mne_dir == got_mne_dir |