aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/test/test_tracemalloc.py
diff options
context:
space:
mode:
authorMin ho Kim <minho42@gmail.com>2019-08-31 06:21:19 +1000
committerTerry Jan Reedy <tjreedy@udel.edu>2019-08-30 16:21:19 -0400
commit39d87b54715197ca9dcb6902bb43461c0ed701a2 (patch)
tree778362acb785069882291e2e39f64fd395d73889 /Lib/test/test_tracemalloc.py
parent15119bc2a7e902ae1c6988556c3bef3de87fa789 (diff)
downloadcpython-39d87b54715197ca9dcb6902bb43461c0ed701a2.tar.gz
cpython-39d87b54715197ca9dcb6902bb43461c0ed701a2.zip
Fix typos mostly in comments, docs and test names (GH-15209)
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 c3866483b8a..4b9bf4ed5da 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: