summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_perf_profiler.py
diff options
context:
space:
mode:
authorPablo Galindo Salgado <Pablogsal@gmail.com>2022-08-30 18:37:22 (GMT)
committerGitHub <noreply@github.com>2022-08-30 18:37:22 (GMT)
commitf49dd54b72ec3fe6dbdcd2476a810929382bc196 (patch)
tree936df577343e5321927961ec7a0c5fa554af52fb /Lib/test/test_perf_profiler.py
parent45fd3685aad90de3be21c8f6eade7b5985629fb8 (diff)
downloadcpython-f49dd54b72ec3fe6dbdcd2476a810929382bc196.zip
cpython-f49dd54b72ec3fe6dbdcd2476a810929382bc196.tar.gz
cpython-f49dd54b72ec3fe6dbdcd2476a810929382bc196.tar.bz2
gh-96143: Add some comments and minor fixes missed in the original PR (#96433)
* gh-96132: Add some comments and minor fixes missed in the original PR * Update Doc/using/cmdline.rst Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com> Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
Diffstat (limited to 'Lib/test/test_perf_profiler.py')
-rw-r--r--Lib/test/test_perf_profiler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_perf_profiler.py b/Lib/test/test_perf_profiler.py
index c2aad85..f587995 100644
--- a/Lib/test/test_perf_profiler.py
+++ b/Lib/test/test_perf_profiler.py
@@ -58,7 +58,7 @@ class TestPerfTrampoline(unittest.TestCase):
script = make_script(script_dir, "perftest", code)
with subprocess.Popen(
[sys.executable, "-Xperf", script],
- universal_newlines=True,
+ text=True,
stderr=subprocess.PIPE,
stdout=subprocess.PIPE,
) as process: