From ee3e6212facfae899fba160e79c4c96d6af0de99 Mon Sep 17 00:00:00 2001 From: Luke Campagnola Date: Sat, 30 Jan 2016 12:26:23 -0800 Subject: [PATCH] correction for catch_warnings on python 3 --- pyqtgraph/functions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyqtgraph/functions.py b/pyqtgraph/functions.py index 0b43aee7..894d33e5 100644 --- a/pyqtgraph/functions.py +++ b/pyqtgraph/functions.py @@ -380,7 +380,7 @@ def eq(a, b): return True try: - with warnings.catch_warnings(np): # ignore numpy futurewarning (numpy v. 1.10) + with warnings.catch_warnings(module=np): # ignore numpy futurewarning (numpy v. 1.10) e = a==b except ValueError: return False