-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix circular import error with loaded datalad-next
This commit fixes a circular import error that occurs when datalad-next is loaded and tests are patched. The error is described in <datalad/datalad-next#716> The reason for the import error is that importing datalad_catalog.add from the module-level context in datalad_catalog.tests.test_add, will import datalad_next, which will in turn import certain tests, which will trigger the extension-api generation process, which tries to process datalad_catalog.add, which is not yet completely loaded.
- Loading branch information
1 parent
76bb8d9
commit 2b56754
Showing
2 changed files
with
20 additions
and
6 deletions.
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