From febfe0d8b5e7184b6318589d0b08f58b623bdf67 Mon Sep 17 00:00:00 2001 From: Carlos Cordoba Date: Thu, 27 Dec 2018 18:22:27 -0500 Subject: [PATCH] Testing: Remove teardown part of ipdb_kernel fixture because it's doing nothing --- spyder_kernels/ipdb/tests/test_ipdb_kernel.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/spyder_kernels/ipdb/tests/test_ipdb_kernel.py b/spyder_kernels/ipdb/tests/test_ipdb_kernel.py index 2f95a65b..e789c06f 100644 --- a/spyder_kernels/ipdb/tests/test_ipdb_kernel.py +++ b/spyder_kernels/ipdb/tests/test_ipdb_kernel.py @@ -36,16 +36,10 @@ # Fixtures # ============================================================================= @pytest.fixture -def ipdb_kernel(request): +def ipdb_kernel(): """IPdb kernel fixture""" # Get kernel instance kernel = get_kernel(kernel_class=IPdbKernel) - - # Teardown - def reset_kernel(): - kernel.do_execute('%reset', True) - - request.addfinalizer(reset_kernel) return kernel