MCPcopy
hub / github.com/django/django / test_fromkeys_empty_iterable

Method test_fromkeys_empty_iterable

tests/httpwrappers/tests.py:297–298  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

295 self.assertEqual(q, expected)
296
297 def test_fromkeys_empty_iterable(self):
298 self.assertEqual(QueryDict.fromkeys([]), QueryDict(""))
299
300 def test_fromkeys_noniterable(self):
301 with self.assertRaises(TypeError):

Callers

nothing calls this directly

Calls 2

QueryDictClass · 0.90
fromkeysMethod · 0.80

Tested by

no test coverage detected