From cca41c9d2ca51fbfdc9a8c16f2f7b049b577300b Mon Sep 17 00:00:00 2001 From: dirkf Date: Fri, 31 Oct 2025 12:09:14 +0000 Subject: [test] Move dict_get() traversal test to its own class Matches yt-dlp/yt-dlp#9426 --- test/test_traversal.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/test_traversal.py') diff --git a/test/test_traversal.py b/test/test_traversal.py index 101bb57b1..2987970ba 100644 --- a/test/test_traversal.py +++ b/test/test_traversal.py @@ -476,6 +476,8 @@ class TestTraversal(_TestCase): def test_get_first(self): self.assertEqual(get_first([{'a': None}, {'a': 'spam'}], 'a'), 'spam') + +class TestDictGet(_TestCase): def test_dict_get(self): FALSE_VALUES = { 'none': None, -- cgit v1.2.3