diff --git a/pandas/tests/computation/test_eval.py b/pandas/tests/computation/test_eval.py index a14d8e4471c23..062d1876141f8 100644 --- a/pandas/tests/computation/test_eval.py +++ b/pandas/tests/computation/test_eval.py @@ -253,9 +253,6 @@ def check_complex_cmp_op(self, lhs, cmp1, rhs, binop, cmp2): # local_dict={'lhs': lhs, 'rhs': rhs}, # engine=self.engine, parser=self.parser) # except AssertionError: - # import ipdb - # - # ipdb.set_trace() # raise else: expected = _eval_single_bin( diff --git a/pandas/tests/internals/test_internals.py b/pandas/tests/internals/test_internals.py index bda486411e01e..4129184373a2a 100644 --- a/pandas/tests/internals/test_internals.py +++ b/pandas/tests/internals/test_internals.py @@ -865,7 +865,6 @@ class TestIndexing(object): def test_get_slice(self): def assert_slice_ok(mgr, axis, slobj): - # import pudb; pudb.set_trace() mat = mgr.as_array() # we maybe using an ndarray to test slicing and diff --git a/pandas/util/testing.py b/pandas/util/testing.py index a5ae1f6a4d960..6e88cd7f72dcd 100644 --- a/pandas/util/testing.py +++ b/pandas/util/testing.py @@ -638,35 +638,6 @@ def set_defaultencoding(encoding): sys.setdefaultencoding(orig) -# ----------------------------------------------------------------------------- -# Console debugging tools - - -def debug(f, *args, **kwargs): - from pdb import Pdb as OldPdb - try: - from IPython.core.debugger import Pdb - kw = dict(color_scheme='Linux') - except ImportError: - Pdb = OldPdb - kw = {} - pdb = Pdb(**kw) - return pdb.runcall(f, *args, **kwargs) - - -def pudebug(f, *args, **kwargs): - import pudb - return pudb.runcall(f, *args, **kwargs) - - -def set_trace(): - from IPython.core.debugger import Pdb - try: - Pdb(color_scheme='Linux').set_trace(sys._getframe().f_back) - except Exception: - from pdb import Pdb as OldPdb - OldPdb().set_trace(sys._getframe().f_back) - # ----------------------------------------------------------------------------- # contextmanager to ensure the file cleanup