From dc020a7122dc73e1c0e8475691fe4987d55c4b2a Mon Sep 17 00:00:00 2001 From: Kaushik Kulkarni Date: Wed, 28 Aug 2019 11:31:46 -0500 Subject: [PATCH] imports warning --- islpy/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/islpy/__init__.py b/islpy/__init__.py index 45af750..d034c56 100644 --- a/islpy/__init__.py +++ b/islpy/__init__.py @@ -1183,6 +1183,7 @@ def align_spaces(obj, tgt, obj_bigger_ok=False, across_dim_types=None): """ if across_dim_types is not None: + from warnings import warn warn("across_dim_types is deprecated and should no longer be used. " "It never had any effect anyway.", DeprecationWarning, stacklevel=2) -- GitLab