1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
From: Roland Mas <roland.mas@entierement.net>
Date: Sun, 22 Jun 2025 14:27:44 +0200
Subject: Disable nptyping tests
---
tests/functions/test_instance_of.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/functions/test_instance_of.py b/tests/functions/test_instance_of.py
index 882cf64..84ae80e 100644
--- a/tests/functions/test_instance_of.py
+++ b/tests/functions/test_instance_of.py
@@ -2,7 +2,7 @@ from sys import version_info
from typing import List, Dict, Union, Optional, Callable, Any, Tuple, Type, Iterable
from unittest import TestCase, skipUnless
-import nptyping as nptyping
+# import nptyping as nptyping
import numpy
from typish import Literal, instance_of, State, register_get_type
@@ -128,7 +128,7 @@ class TestInstanceOf(TestCase):
def test_instance_of_numpy(self):
self.assertTrue(instance_of(numpy.array([1, 2, 3]), numpy.ndarray))
- def test_instance_of_nptyping_ndarray(self):
+ def disabled_test_instance_of_nptyping_ndarray(self):
local_state = State()
register_get_type(numpy.ndarray, nptyping.NDArray.type_of, local_state)
|