diff options
| author | dirkf <fieldhouse@gmx.net> | 2025-10-31 12:09:14 +0000 |
|---|---|---|
| committer | dirkf <fieldhouse@gmx.net> | 2025-11-21 01:52:11 +0000 |
| commit | cca41c9d2ca51fbfdc9a8c16f2f7b049b577300b (patch) | |
| tree | 724f2ef1d01368935c62ca0d204574768481e729 /test/test_traversal.py | |
| parent | bc39e5e6787579b3cb6d1fef3ff5e05e6db0ce71 (diff) | |
[test] Move dict_get() traversal test to its own class
Matches yt-dlp/yt-dlp#9426
Diffstat (limited to 'test/test_traversal.py')
| -rw-r--r-- | test/test_traversal.py | 2 |
1 files changed, 2 insertions, 0 deletions
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, |
