Commit 8a7f1f4b authored by Miss Islington (bot)'s avatar Miss Islington (bot) Committed by GitHub

bpo-32923: Unittest doc: replace `whilst` with `while` (GH-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 98f42aac)
Co-authored-by: default avatarMariatta <Mariatta@users.noreply.github.com>
parent 61bd4d2e
...@@ -2038,7 +2038,7 @@ handling functionality within test frameworks. ...@@ -2038,7 +2038,7 @@ handling functionality within test frameworks.
When called without arguments this function removes the control-c handler When called without arguments this function removes the control-c handler
if it has been installed. This function can also be used as a test decorator if it has been installed. This function can also be used as a test decorator
to temporarily remove the handler whilst the test is being executed:: to temporarily remove the handler while the test is being executed::
@unittest.removeHandler @unittest.removeHandler
def test_signal_handling(self): def test_signal_handling(self):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment