File: empty_no_images_to_verify_fixture.patch

package info (click to toggle)
python-pyvista 0.46.3-1~exp1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 177,564 kB
  • sloc: python: 94,482; sh: 129; makefile: 70
file content (16 lines) | stat: -rw-r--r-- 469 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- a/tests/plotting/test_plotting.py
+++ b/tests/plotting/test_plotting.py
@@ -122,12 +122,7 @@
 
 @pytest.fixture
 def no_images_to_verify(verify_image_cache_wrapper):
-    verify_image_cache_wrapper.allow_useless_fixture = True
-    yield verify_image_cache_wrapper
-    assert (n_calls := verify_image_cache_wrapper.n_calls) == 0, (
-        f'No images were expected to be generated, but got {n_calls}'
-    )
-
+    pass
 
 @pytest.fixture
 def multicomp_poly():