From 78bba69c09c20a8bd32aafd8b9af57cf166da119 Mon Sep 17 00:00:00 2001 From: Alexandru Fikl Date: Tue, 12 Mar 2024 08:22:43 +0200 Subject: [PATCH] remove deprecated usage of longfloat and longcomplex --- pytools/test/test_persistent_dict.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pytools/test/test_persistent_dict.py b/pytools/test/test_persistent_dict.py index 8279769..d0b32c0 100644 --- a/pytools/test/test_persistent_dict.py +++ b/pytools/test/test_persistent_dict.py @@ -408,16 +408,12 @@ def test_scalar_hashing(): assert keyb(np.float64(1.1)) == keyb(np.float64(1.1)) if hasattr(np, "float128"): assert keyb(np.float128(1.1)) == keyb(np.float128(1.1)) - - assert keyb(np.longfloat(1.1)) == keyb(np.longfloat(1.1)) assert keyb(np.longdouble(1.1)) == keyb(np.longdouble(1.1)) assert keyb(np.complex64(1.1+2.2j)) == keyb(np.complex64(1.1+2.2j)) assert keyb(np.complex128(1.1+2.2j)) == keyb(np.complex128(1.1+2.2j)) if hasattr(np, "complex256"): assert keyb(np.complex256(1.1+2.2j)) == keyb(np.complex256(1.1+2.2j)) - - assert keyb(np.longcomplex(1.1+2.2j)) == keyb(np.longcomplex(1.1+2.2j)) assert keyb(np.clongdouble(1.1+2.2j)) == keyb(np.clongdouble(1.1+2.2j)) -- GitLab