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

Skip to content

Commit 98f42aa

Browse files
authored
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.
1 parent efa6c76 commit 98f42aa

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
@@ -2316,7 +2316,7 @@ handling functionality within test frameworks.
23162316

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

23212321
@unittest.removeHandler
23222322
def test_signal_handling(self):

0 commit comments

Comments
 (0)