[Python-checkins] cpython (2.7): Fix spelling in code comments

martin.panter python-checkins at python.org
Sun Dec 18 00:43:52 EST 2016


https://hg.python.org/cpython/rev/34b9fe09a2b7
changeset: 105721:34b9fe09a2b7
branch: 2.7
parent: 105715:88c21db793cb
user: Martin Panter <vadmium+py at gmail.com>
date: Sun Dec 18 05:27:49 2016 +0000
summary:
 Fix spelling in code comments
files:
 Lib/distutils/tests/test_bdist_rpm.py | 2 +-
 Lib/test/test_unicode.py | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Lib/distutils/tests/test_bdist_rpm.py b/Lib/distutils/tests/test_bdist_rpm.py
--- a/Lib/distutils/tests/test_bdist_rpm.py
+++ b/Lib/distutils/tests/test_bdist_rpm.py
@@ -99,7 +99,7 @@
 @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')
diff --git a/Lib/test/test_unicode.py b/Lib/test/test_unicode.py
--- a/Lib/test/test_unicode.py
+++ b/Lib/test/test_unicode.py
@@ -1814,7 +1814,7 @@
 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',
-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /