summaryrefslogtreecommitdiffstats
path: root/tests/plugin_tests/numpy3_test.py
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-25 02:59:48 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-25 02:59:48 +0000
commitec14b3742103754d9022782587d0b5cf2f9fd1e3 (patch)
treeb3496f24575e063a780a133dfc86eca7a51fb290 /tests/plugin_tests/numpy3_test.py
parentReleasing progress-linux version 0.1.28-0.0~progress7.99u1. (diff)
downloaddebputy-ec14b3742103754d9022782587d0b5cf2f9fd1e3.tar.xz
debputy-ec14b3742103754d9022782587d0b5cf2f9fd1e3.zip
Merging upstream version 0.1.29.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/plugin_tests/numpy3_test.py')
-rw-r--r--tests/plugin_tests/numpy3_test.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/plugin_tests/numpy3_test.py b/tests/plugin_tests/numpy3_test.py
index 9b252fb..62fbd77 100644
--- a/tests/plugin_tests/numpy3_test.py
+++ b/tests/plugin_tests/numpy3_test.py
@@ -1,4 +1,5 @@
import os
+from typing import Iterator
import pytest
@@ -12,7 +13,7 @@ DATA_FILE = os.path.join(os.path.dirname(__file__), "numpy3_test.data")
@pytest.fixture(scope="session")
-def numpy3_stub_data_file() -> None:
+def numpy3_stub_data_file() -> Iterator[None]:
os.environ["_NUMPY_TEST_PATH"] = DATA_FILE
yield
try: