Skip to content

Commit

Permalink
Testing: Remove teardown part of ipdb_kernel fixture because it's doi…
Browse files Browse the repository at this point in the history
…ng nothing
  • Loading branch information
ccordoba12 committed Dec 27, 2018
1 parent c3ed33d commit febfe0d
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions spyder_kernels/ipdb/tests/test_ipdb_kernel.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down

0 comments on commit febfe0d

Please sign in to comment.