Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/django/django
/ test_fromkeys_noniterable
Method
test_fromkeys_noniterable
tests/httpwrappers/tests.py:300–302 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
298
self.assertEqual(QueryDict.fromkeys([]), QueryDict(
""
))
299
300
def
test_fromkeys_noniterable(self):
301
with
self.assertRaises(TypeError):
302
QueryDict.fromkeys(0)
303
304
305
class
HttpResponseTests(SimpleTestCase):
Callers
nothing calls this directly
Calls
1
fromkeys
Method · 0.80
Tested by
no test coverage detected