Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0510fd commit 00c63a3Copy full SHA for 00c63a3
lib/matplotlib/tests/test_quiver.py
@@ -1,6 +1,9 @@
1
+import platform
2
+import sys
3
+
4
import numpy as np
5
import pytest
-import sys
6
7
from matplotlib import pyplot as plt
8
from matplotlib.testing.decorators import image_comparison
9
@@ -15,6 +18,8 @@ def draw_quiver(ax, **kw):
15
18
return Q
16
19
17
20
21
+@pytest.mark.skipif(platform.python_implementation() != 'CPython',
22
+ reason='Requires CPython')
23
def test_quiver_memory_leak():
24
fig, ax = plt.subplots()
25
@@ -27,6 +32,8 @@ def test_quiver_memory_leak():
27
32
assert sys.getrefcount(ttX) == 2
28
33
29
34
35
36
30
37
def test_quiver_key_memory_leak():
31
38
39
0 commit comments