Преглед на файлове

[test] Move dict_get() traversal test to its own class

Matches yt-dlp/yt-dlp#9426
dirkf преди 1 месец
родител
ревизия
cca41c9d2c
променени са 1 файла, в които са добавени 2 реда и са изтрити 0 реда
  1. 2 0
      test/test_traversal.py

+ 2 - 0
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,