]> granicus.if.org Git - python/commitdiff
Fix spelling in code comments
authorMartin Panter <vadmium+py@gmail.com>
Sun, 18 Dec 2016 05:27:49 +0000 (05:27 +0000)
committerMartin Panter <vadmium+py@gmail.com>
Sun, 18 Dec 2016 05:27:49 +0000 (05:27 +0000)
Lib/distutils/tests/test_bdist_rpm.py
Lib/test/test_unicode.py

index 475a8277cb5e40c1125056106017f08042e87b4c..8248c08b19b7191a2871d85fb42536d499bfdc02 100644 (file)
@@ -99,7 +99,7 @@ class BuildRpmTestCase(support.TempdirManager,
     @unittest.skipIf(find_executable('rpmbuild') is None,
                      'the rpmbuild command is not found')
     def test_no_optimize_flag(self):
-        # let's create a package that brakes bdist_rpm
+        # let's create a package that breaks bdist_rpm
         tmp_dir = self.mkdtemp()
         os.environ['HOME'] = tmp_dir   # to confine dir '.rpmdb' creation
         pkg_dir = os.path.join(tmp_dir, 'foo')
index 0f2cf217bec4b1c1575da9571999c4987839667b..560b84cb82c2e0c264ab19de453b6845711296c8 100644 (file)
@@ -1814,7 +1814,7 @@ class CAPITest(unittest.TestCase):
                      b'repr=%V', None, b'abc\xff')
 
         # not supported: copy the raw format string. these tests are just here
-        # to check for crashs and should not be considered as specifications
+        # to check for crashes and should not be considered as specifications
         check_format(u'%s',
                      b'%1%s', b'abc')
         check_format(u'%1abc',