aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorpukkandan <pukkandan.ytdlp@gmail.com>2024-03-11 00:48:47 +0530
committerGitHub <noreply@github.com>2024-03-11 00:48:47 +0530
commit47ab66db0f083a76c7fba0f6e136b21dd5a93e3b (patch)
treee2ee1e3234ce9c2de2cd52fdeb916de3d98b4259 /test
parent0abf2f1f153ab47990edbeee3477dc55f74c7f89 (diff)
[docs] Misc Cleanup (#8977)
Closes #8355, #8944 Authored by: bashonly, Grub4k, Arthurszzz, seproDev, pukkandan Co-authored-by: sepro <4618135+seproDev@users.noreply.github.com> Co-authored-by: bashonly <bashonly@protonmail.com> Co-authored-by: Arthurszzz <minecraftgamerarthur@gmail.com> Co-authored-by: Simon Sawicki <accounts@grub4k.xyz> Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com>
Diffstat (limited to 'test')
-rw-r--r--test/test_execution.py2
-rw-r--r--test/test_utils.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/test_execution.py b/test/test_execution.py
index fb2f6e2e9..c6ee9cf9d 100644
--- a/test/test_execution.py
+++ b/test/test_execution.py
@@ -45,7 +45,7 @@ class TestExecution(unittest.TestCase):
self.assertTrue(os.path.exists(LAZY_EXTRACTORS))
_, stderr = self.run_yt_dlp(opts=('-s', 'test:'))
- # `MIN_RECOMMENDED` emits a deprecated feature warning for deprecated python versions
+ # `MIN_RECOMMENDED` emits a deprecated feature warning for deprecated Python versions
if stderr and stderr.startswith('Deprecated Feature: Support for Python'):
stderr = ''
self.assertFalse(stderr)
diff --git a/test/test_utils.py b/test/test_utils.py
index 09c648cf8..a3073f0e0 100644
--- a/test/test_utils.py
+++ b/test/test_utils.py
@@ -2386,7 +2386,7 @@ Line 1
self.assertEqual(traverse_obj(etree, '//year/text()'), ['2008', '2011', '2011'],
msg='`text()` at end of path should give the inner text')
self.assertEqual(traverse_obj(etree, '//*[@direction]/@direction'), ['E', 'W', 'N', 'W', 'E'],
- msg='full python xpath features should be supported')
+ msg='full Python xpath features should be supported')
self.assertEqual(traverse_obj(etree, (0, '@name')), 'Liechtenstein',
msg='special transformations should act on current element')
self.assertEqual(traverse_obj(etree, ('country', 0, ..., 'text()', {int_or_none})), [1, 2008, 141100],