##// END OF EJS Templates
Remove unneeded `skip_doctest` decorator usages
Nikita Kniazev -
Show More
@@ -114,7 +114,6 b' from IPython import get_ipython'
114 from IPython.utils import PyColorize
114 from IPython.utils import PyColorize
115 from IPython.utils import coloransi, py3compat
115 from IPython.utils import coloransi, py3compat
116 from IPython.core.excolors import exception_colors
116 from IPython.core.excolors import exception_colors
117 from IPython.testing.skipdoctest import skip_doctest
118
117
119 # skip module docstests
118 # skip module docstests
120 __skip_doctest__ = True
119 __skip_doctest__ = True
@@ -180,7 +179,6 b' class Tracer(object):'
180 while functioning acceptably (though with limitations) if outside of it.
179 while functioning acceptably (though with limitations) if outside of it.
181 """
180 """
182
181
183 @skip_doctest
184 def __init__(self, colors=None):
182 def __init__(self, colors=None):
185 """
183 """
186 DEPRECATED
184 DEPRECATED
@@ -921,7 +919,6 b' class Pdb(OldPdb):'
921 return True
919 return True
922 return False
920 return False
923
921
924 @skip_doctest
925 def _is_in_decorator_internal_and_should_skip(self, frame):
922 def _is_in_decorator_internal_and_should_skip(self, frame):
926 """
923 """
927 Utility to tell us whether we are in a decorator internal and should stop.
924 Utility to tell us whether we are in a decorator internal and should stop.
@@ -413,7 +413,6 b' class ExecutionMagics(Magics):'
413 self.shell.call_pdb = new_pdb
413 self.shell.call_pdb = new_pdb
414 print('Automatic pdb calling has been turned',on_off(new_pdb))
414 print('Automatic pdb calling has been turned',on_off(new_pdb))
415
415
416 @skip_doctest
417 @magic_arguments.magic_arguments()
416 @magic_arguments.magic_arguments()
418 @magic_arguments.argument('--breakpoint', '-b', metavar='FILE:LINE',
417 @magic_arguments.argument('--breakpoint', '-b', metavar='FILE:LINE',
419 help="""
418 help="""
@@ -63,7 +63,6 b' class OSMagics(Magics):'
63 super().__init__(shell=shell, **kwargs)
63 super().__init__(shell=shell, **kwargs)
64
64
65
65
66 @skip_doctest
67 def _isexec_POSIX(self, file):
66 def _isexec_POSIX(self, file):
68 """
67 """
69 Test for executable on a POSIX system
68 Test for executable on a POSIX system
@@ -75,14 +74,12 b' class OSMagics(Magics):'
75
74
76
75
77
76
78 @skip_doctest
79 def _isexec_WIN(self, file):
77 def _isexec_WIN(self, file):
80 """
78 """
81 Test for executable file on non POSIX system
79 Test for executable file on non POSIX system
82 """
80 """
83 return file.is_file() and self.execre.match(file.name) is not None
81 return file.is_file() and self.execre.match(file.name) is not None
84
82
85 @skip_doctest
86 def isexec(self, file):
83 def isexec(self, file):
87 """
84 """
88 Test for executable file on non POSIX system
85 Test for executable file on non POSIX system
@@ -633,8 +630,8 b' class OSMagics(Magics):'
633
630
634 # while the list form is useful to loop over:
631 # while the list form is useful to loop over:
635 In [6]: for f in a.l:
632 In [6]: for f in a.l:
636 ...: !wc -l $f
633 ...: !wc -l $f
637 ...:
634 ...:
638 146 setup.py
635 146 setup.py
639 130 win32_manual_post_install.py
636 130 win32_manual_post_install.py
640
637
General Comments 0
You need to be logged in to leave comments. Login now