summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2018-02-23 18:22:27 (GMT)
committerGitHub <noreply@github.com>2018-02-23 18:22:27 (GMT)
commitcffe0467ab7b164739693598826bd3860f01b11f (patch)
tree28070258944c706d578f81953dae32830fde1eac /Doc/library
parent9c819a6a7d34594779fea3a25fd69ec5745e185e (diff)
downloadcpython-cffe0467ab7b164739693598826bd3860f01b11f.zip
cpython-cffe0467ab7b164739693598826bd3860f01b11f.tar.gz
cpython-cffe0467ab7b164739693598826bd3860f01b11f.tar.bz2
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 98f42aac23f3863973cb6e9964c5212cfd3a1d98) Co-authored-by: Mariatta <Mariatta@users.noreply.github.com>
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/unittest.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/unittest.rst b/Doc/library/unittest.rst
index e52f140..a4c4c5c 100644
--- a/Doc/library/unittest.rst
+++ b/Doc/library/unittest.rst
@@ -2282,7 +2282,7 @@ handling functionality within test frameworks.
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
- to temporarily remove the handler whilst the test is being executed::
+ to temporarily remove the handler while the test is being executed::
@unittest.removeHandler
def test_signal_handling(self):