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

corona10 webhook-mailer at python.org
Tue Feb 21 12:39:35 EST 2023


https://github.com/python/cpython/commit/d5c7954d0c3ff874d2d27d33dcc207bb7356f328
commit: d5c7954d0c3ff874d2d27d33dcc207bb7356f328
branch: main
author: Hyunkyun Moon <mhg5303 at gmail.com>
committer: corona10 <donghee.na92 at gmail.com>
date: 2023-02-22T02:39:00+09:00
summary:

gh-95672 fix typo SkitTest to SkipTest (gh-102119)

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 113c7802821d..26de67d92427 100644
--- a/Lib/test/test_fcntl.py
+++ b/Lib/test/test_fcntl.py
@@ -202,7 +202,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 ab19d69b0133..33dbf4e989d9 100644
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -1229,6 +1229,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