summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_tracemalloc.py
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-08-30 20:42:54 (GMT)
committerGitHub <noreply@github.com>2019-08-30 20:42:54 (GMT)
commit4bd1d05ee247f200e52fab3958d875bd88073e5b (patch)
treee123f9b7cd40d19341b2b011bf706704b48f9f5c /Lib/test/test_tracemalloc.py
parent3d75857dfa0e50dd6e5439e8bd92c07c5d5e9839 (diff)
downloadcpython-4bd1d05ee247f200e52fab3958d875bd88073e5b.zip
cpython-4bd1d05ee247f200e52fab3958d875bd88073e5b.tar.gz
cpython-4bd1d05ee247f200e52fab3958d875bd88073e5b.tar.bz2
Fix typos mostly in comments, docs and test names (GH-15209)
(cherry picked from commit 39d87b54715197ca9dcb6902bb43461c0ed701a2) Co-authored-by: Min ho Kim <minho42@gmail.com>
Diffstat (limited to 'Lib/test/test_tracemalloc.py')
-rw-r--r--Lib/test/test_tracemalloc.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_tracemalloc.py b/Lib/test/test_tracemalloc.py
index c386648..4b9bf4e 100644
--- a/Lib/test/test_tracemalloc.py
+++ b/Lib/test/test_tracemalloc.py
@@ -885,7 +885,7 @@ class TestCommandLine(unittest.TestCase):
return
if b'PYTHONTRACEMALLOC: invalid number of frames' in stderr:
return
- self.fail(f"unexpeced output: {stderr!a}")
+ self.fail(f"unexpected output: {stderr!a}")
def test_env_var_invalid(self):
@@ -914,7 +914,7 @@ class TestCommandLine(unittest.TestCase):
return
if b'-X tracemalloc=NFRAME: invalid number of frames' in stderr:
return
- self.fail(f"unexpeced output: {stderr!a}")
+ self.fail(f"unexpected output: {stderr!a}")
def test_sys_xoptions_invalid(self):
for nframe in INVALID_NFRAME: