mirror of
https://github.com/finegrain-ai/refiners.git
synced 2024-11-23 22:58:45 +00:00
switch pytest import mode to importlib
see: https://docs.pytest.org/en/7.1.x/explanation/goodpractices.html#choosing-an-import-mode https://docs.pytest.org/en/7.1.x/explanation/pythonpath.html#import-modes This change fixes the SAM tests.
This commit is contained in:
parent
2c6dec15f0
commit
2ba83f575e
|
@ -156,3 +156,4 @@ filterwarnings = [
|
|||
"ignore::DeprecationWarning:timm.models.layers.*",
|
||||
"ignore::DeprecationWarning:timm.models.registry.*"
|
||||
]
|
||||
addopts = "--import-mode=importlib"
|
||||
|
|
Loading…
Reference in a new issue