forked from pool/python-matplotlib
24 lines
728 B
Diff
24 lines
728 B
Diff
|
From 4d26d74c69bea97dcd24986f95345da0b3591df9 Mon Sep 17 00:00:00 2001
|
||
|
From: David Stansby <dstansby@gmail.com>
|
||
|
Date: Fri, 9 Jun 2017 17:55:37 +0100
|
||
|
Subject: [PATCH] Allow divmod to be overridden by numpy
|
||
|
|
||
|
---
|
||
|
lib/matplotlib/tests/test_basic.py | 3 ++-
|
||
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
||
|
|
||
|
diff --git a/lib/matplotlib/tests/test_basic.py b/lib/matplotlib/tests/test_basic.py
|
||
|
index 236e0d9e7d8..945e78322b3 100644
|
||
|
--- a/lib/matplotlib/tests/test_basic.py
|
||
|
+++ b/lib/matplotlib/tests/test_basic.py
|
||
|
@@ -20,7 +20,8 @@ def test_override_builtins():
|
||
|
'__spec__',
|
||
|
'any',
|
||
|
'all',
|
||
|
- 'sum'
|
||
|
+ 'sum',
|
||
|
+ 'divmod'
|
||
|
])
|
||
|
|
||
|
# We could use six.moves.builtins here, but that seems
|