[Python-checkins] [3.11] gh-95672 fix typo SkitTest to SkipTest (gh-102119) (#102121)

corona10 webhook-mailer at python.org
Tue Feb 21 20:34:58 EST 2023


https://github.com/python/cpython/commit/5d47150eacbca622b351d48870d21381f74c57c5
commit: 5d47150eacbca622b351d48870d21381f74c57c5
branch: 3.11
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: corona10 <donghee.na92 at gmail.com>
date: 2023-02-22T10:34:51+09:00
summary:

[3.11] gh-95672 fix typo SkitTest to SkipTest (gh-102119) (#102121)

gh-95672 fix typo SkitTest to SkipTest (gh-102119)
(cherry picked from commit d5c7954d0c3ff874d2d27d33dcc207bb7356f328)

Co-authored-by: HyunKyun Moon <hyunkyun.moon at linecorp.com>

files:
M Lib/test/test_fcntl.py
M Lib/test/test_subprocess.py
M Misc/ACKS

diff --git a/Lib/test/test_fcntl.py b/Lib/test/test_fcntl.py
index fc8c39365f12..8e98256a62c6 100644
--- a/Lib/test/test_fcntl.py
+++ b/Lib/test/test_fcntl.py
@@ -200,7 +200,7 @@ def test_fcntl_f_pipesize(self):
             pipesize_default = fcntl.fcntl(test_pipe_w, fcntl.F_GETPIPE_SZ)
             pipesize = pipesize_default // 2  # A new value to detect change.
             if pipesize < 512:  # the POSIX minimum
-                raise unittest.SkitTest(
+                raise unittest.SkipTest(
                     'default pipesize too small to perform test.')
             fcntl.fcntl(test_pipe_w, fcntl.F_SETPIPE_SZ, pipesize)
             self.assertEqual(fcntl.fcntl(test_pipe_w, fcntl.F_GETPIPE_SZ),
diff --git a/Lib/test/test_subprocess.py b/Lib/test/test_subprocess.py
index abd0dd8b2569..727b0e6dc578 100644
--- a/Lib/test/test_subprocess.py
+++ b/Lib/test/test_subprocess.py
@@ -718,7 +718,7 @@ def test_pipesizes(self):
             os.close(test_pipe_w)
         pipesize = pipesize_default // 2
         if pipesize < 512:  # the POSIX minimum
-            raise unittest.SkitTest(
+            raise unittest.SkipTest(
                 'default pipesize too small to perform test.')
         p = subprocess.Popen(
             [sys.executable, "-c",
diff --git a/Misc/ACKS b/Misc/ACKS
index 523b9e8380d5..cf6657f9559a 100644
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -1220,6 +1220,7 @@ The Dragon De Monsyne
 Bastien Montagne
 Skip Montanaro
 Peter Moody
+HyunKyun Moon
 Alan D. Moore
 Nicolai Moore
 Paul Moore



More information about the Python-checkins mailing list