##// END OF EJS Templates
Fix typos
Andrew Kreimer -
Show More
@@ -204,7 +204,7 b' def test_line_split():'
204 204 # was at the end of part1. So an empty part2 represents someone hitting
205 205 # tab at the end of the line, the most common case.
206 206 t = [
207 ("run some/scrip", "", "some/scrip"),
207 ("run some/script", "", "some/script"),
208 208 ("run scripts/er", "ror.py foo", "scripts/er"),
209 209 ("echo $HOM", "", "HOM"),
210 210 ("print sys.pa", "", "sys.pa"),
@@ -140,7 +140,7 b' def test_image_filename_defaults():'
140 140 format="badformat",
141 141 embed=True,
142 142 )
143 # check boths paths to allow packages to test at build and install time
143 # check both paths to allow packages to test at build and install time
144 144 imgfile = os.path.join(tpath, 'core/tests/2x2.png')
145 145 img = display.Image(filename=imgfile)
146 146 assert "png" == img.format
@@ -660,7 +660,7 b' class TestSystemRaw(ExitCodeChecks):'
660 660 @mock.patch('os.system', side_effect=KeyboardInterrupt)
661 661 def test_control_c(self, *mocks):
662 662 try:
663 self.system("sleep 1 # wont happen")
663 self.system("sleep 1 # won't happen")
664 664 except KeyboardInterrupt: # pragma: no cove
665 665 self.fail(
666 666 "system call should intercept "
@@ -579,7 +579,7 b' def test_run_tb():'
579 579 def test_multiprocessing_run():
580 580 """Set we can run mutiprocesgin without messing up up main namespace
581 581
582 Note that import `nose.tools as nt` mdify the value s
582 Note that import `nose.tools as nt` modify the values
583 583 sys.module['__mp_main__'] so we need to temporarily set it to None to test
584 584 the issue.
585 585 """
@@ -158,14 +158,14 b' class NestedGenExprTestCase(unittest.TestCase):'
158 158
159 159
160 160 indentationerror_file = """if True:
161 zoon()
161 zoom()
162 162 """
163 163
164 164 class IndentationErrorTest(unittest.TestCase):
165 165 def test_indentationerror_shows_line(self):
166 166 # See issue gh-2398
167 167 with tt.AssertPrints("IndentationError"):
168 with tt.AssertPrints("zoon()", suppress=False):
168 with tt.AssertPrints("zoom()", suppress=False):
169 169 ip.run_cell(indentationerror_file)
170 170
171 171 with TemporaryDirectory() as td:
@@ -174,7 +174,7 b' class IndentationErrorTest(unittest.TestCase):'
174 174 f.write(indentationerror_file)
175 175
176 176 with tt.AssertPrints("IndentationError"):
177 with tt.AssertPrints("zoon()", suppress=False):
177 with tt.AssertPrints("zoom()", suppress=False):
178 178 ip.magic('run %s' % fname)
179 179
180 180 @skip_without("pandas")
General Comments 0
You need to be logged in to leave comments. Login now