aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
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],