Skip to content

Fix import of renamed asyncAtomicCancellable in test_Asyncio - #28

Open
BrennanTM wants to merge 1 commit into
PrecisionNeuroLab:mainfrom
BrennanTM:fix/asyncio-test-import
Open

Fix import of renamed asyncAtomicCancellable in test_Asyncio#28
BrennanTM wants to merge 1 commit into
PrecisionNeuroLab:mainfrom
BrennanTM:fix/asyncio-test-import

Conversation

@BrennanTM

Copy link
Copy Markdown

What brokeNaviNIBS/util/test/test_Asyncio.py imported asyncAtomicCancel, which doesn't exist (it's asyncAtomicCancellable) → the file failed at pytest collection.

Fix — rename both references. The test now collects and passes on Python 3.13.

The test imported and applied asyncAtomicCancel, which does not exist
(the decorator is named asyncAtomicCancellable), so the file failed at
pytest collection.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant