From aaa1cb25f0917e8afb6ea3d379f79e3477c260da Mon Sep 17 00:00:00 2001 From: Jo-Byr Date: Wed, 27 May 2026 09:28:35 +0200 Subject: [PATCH] fix(tests): fix test_export async error Remove async from test_export to fix nest_asyncio error --- tests/test_export.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/tests/test_export.py b/tests/test_export.py index fbc1f78..7908561 100644 --- a/tests/test_export.py +++ b/tests/test_export.py @@ -1,12 +1,9 @@ from pathlib import Path -import pytest -import asyncio import pyvista as pv from pyvista import examples -@pytest.mark.asyncio -async def test_export(): +def test_export(): mesh = examples.load_uniform() plotter = pv.Plotter(shape=(1, 2)) plotter.add_mesh(mesh, scalars="Spatial Point Data", show_edges=True) @@ -14,6 +11,5 @@ async def test_export(): plotter.add_mesh(mesh, scalars="Spatial Cell Data", show_edges=True) plotter.export_html("pv.html") - await asyncio.sleep(0.1) plotter.close() assert Path("pv.html").exists()