From e054889717840cd71411e377b110bded1d34bbbc Mon Sep 17 00:00:00 2001 From: Alex Remedios Date: Mon, 23 Dec 2024 16:36:23 +0000 Subject: [PATCH] . --- tests/test_nb_run.py | 4 +++- tests/test_pytest_plugin.py | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/tests/test_nb_run.py b/tests/test_nb_run.py index e263030..a5dfc61 100644 --- a/tests/test_nb_run.py +++ b/tests/test_nb_run.py @@ -8,7 +8,9 @@ from nbmake.nb_result import NotebookResult from nbmake.nb_run import NotebookRun -from .helper import failing_nb, passing_nb, write_nb +from .helper import failing_nb, passing_nb, testdir2, write_nb + +assert testdir2 # ensure testdir is not removed by linter pytest_plugins = "pytester" diff --git a/tests/test_pytest_plugin.py b/tests/test_pytest_plugin.py index 232b7ff..0cd61b2 100644 --- a/tests/test_pytest_plugin.py +++ b/tests/test_pytest_plugin.py @@ -8,7 +8,9 @@ from pytest import ExitCode, Pytester from typing_extensions import Never -from .helper import failing_nb, passing_nb, write_nb +from .helper import failing_nb, passing_nb, testdir2, write_nb + +assert testdir2 # ensure testdir is not removed by linter pytest_plugins = "pytester" NB_VERSION = 4