File: tests_skip_perfplot.patch

package info (click to toggle)
python-pypathlib 0.1.3-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 156 kB
  • sloc: python: 360; makefile: 30
file content (41 lines) | stat: -rw-r--r-- 996 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
--- a/test/test_speed.py
+++ b/test/test_speed.py
@@ -1,7 +1,7 @@
 import numpy
 from matplotlib import path
 
-import perfplot
+#import perfplot
 import pypathlib
 
 
@@ -18,15 +18,15 @@
 
     numpy.random.seed(0)
 
-    perfplot.show(
-        setup=lambda n: numpy.random.rand(n, 2),
-        kernels=[_mpl_path, _pypathlib_contains_points],
-        n_range=[2 ** k for k in range(n)],
-        labels=["matplotlib.path.contains_points", "pypathlib.contains_points"],
-        logx=True,
-        logy=True,
-        xlabel="num points",
-    )
+#    perfplot.show(
+#        setup=lambda n: numpy.random.rand(n, 2),
+#        kernels=[_mpl_path, _pypathlib_contains_points],
+#        n_range=[2 ** k for k in range(n)],
+#        labels=["matplotlib.path.contains_points", "pypathlib.contains_points"],
+#        logx=True,
+#        logy=True,
+#        xlabel="num points",
+#    )
     return
 
 
--- a/test_requirements.txt
+++ b/test_requirements.txt
@@ -1 +1 @@
-perfplot
+#perfplot