This commit is contained in:
ton
2024-10-07 10:13:40 +07:00
parent aa1631742f
commit 3a7d696db6
9729 changed files with 1832837 additions and 161742 deletions

View File

@@ -0,0 +1,17 @@
import pytest
# List of files that pytest should ignore
collect_ignore = [
"io/_plugins",
]
@pytest.fixture(autouse=True)
def handle_np2():
# TODO: remove when we require numpy >= 2
try:
import numpy as np
np.set_printoptions(legacy="1.21")
except ImportError:
pass