From 3e45ffc7eb2b9da30041a659cf6a6022c5859241 Mon Sep 17 00:00:00 2001 From: HyunKyun Moon Date: Tue, 21 Feb 2023 23:23:43 +0900 Subject: [PATCH 1/2] fix typo SkitTest to SkipTest --- Lib/test/test_fcntl.py | 2 +- Lib/test/test_subprocess.py | 2 +- Misc/ACKS | 1 + Misc/NEWS.d/next/Tests/2023-02-21-23-23-26.bpo-95672.-ogWWJ.rst | 2 ++ 4 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 Misc/NEWS.d/next/Tests/2023-02-21-23-23-26.bpo-95672.-ogWWJ.rst diff --git a/Lib/test/test_fcntl.py b/Lib/test/test_fcntl.py index 113c7802821dd4..26de67d924272a 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 abd0dd8b25699b..727b0e6dc578c2 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 a9d4e453c7b59c..6376fa2791e49e 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 diff --git a/Misc/NEWS.d/next/Tests/2023-02-21-23-23-26.bpo-95672.-ogWWJ.rst b/Misc/NEWS.d/next/Tests/2023-02-21-23-23-26.bpo-95672.-ogWWJ.rst new file mode 100644 index 00000000000000..fee9a25b2a61ba --- /dev/null +++ b/Misc/NEWS.d/next/Tests/2023-02-21-23-23-26.bpo-95672.-ogWWJ.rst @@ -0,0 +1,2 @@ +Fix the typos ("SkitTest") in test_fcntl_f_pipesize and test_pipesizes. +Patch by HyunKyun Moon. From 9a6bdd9dfe6dc0b8ce3c6eea023598ec4b436cf1 Mon Sep 17 00:00:00 2001 From: HyunKyun Moon Date: Wed, 22 Feb 2023 01:41:25 +0900 Subject: [PATCH 2/2] delete NEWS.d --- Misc/NEWS.d/next/Tests/2023-02-21-23-23-26.bpo-95672.-ogWWJ.rst | 2 -- 1 file changed, 2 deletions(-) delete mode 100644 Misc/NEWS.d/next/Tests/2023-02-21-23-23-26.bpo-95672.-ogWWJ.rst diff --git a/Misc/NEWS.d/next/Tests/2023-02-21-23-23-26.bpo-95672.-ogWWJ.rst b/Misc/NEWS.d/next/Tests/2023-02-21-23-23-26.bpo-95672.-ogWWJ.rst deleted file mode 100644 index fee9a25b2a61ba..00000000000000 --- a/Misc/NEWS.d/next/Tests/2023-02-21-23-23-26.bpo-95672.-ogWWJ.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix the typos ("SkitTest") in test_fcntl_f_pipesize and test_pipesizes. -Patch by HyunKyun Moon.