Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8a7f1f4

Browse files
bpo-32923: Unittest doc: replace whilst with while (pythonGH-5833)
`whilst` and `while` are both english words, `whilst` is not as commonly used. This can be confusing to readers whose primary language is not english. (cherry picked from commit 98f42aa) Co-authored-by: Mariatta <[email protected]>
1 parent 61bd4d2 commit 8a7f1f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/unittest.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2038,7 +2038,7 @@ handling functionality within test frameworks.
20382038

20392039
When called without arguments this function removes the control-c handler
20402040
if it has been installed. This function can also be used as a test decorator
2041-
to temporarily remove the handler whilst the test is being executed::
2041+
to temporarily remove the handler while the test is being executed::
20422042

20432043
@unittest.removeHandler
20442044
def test_signal_handling(self):

0 commit comments

Comments
 (0)