Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def test_list_of_tuples_test(self):
l = [(1, 2), (3, 4)]
self.assertEqual(variable.dict_test(l), False)
d = dict(l)
self.assertEqual(variable.dict_test(d), True)
def test_list_of_tuples_test(self):
l = [(1, 2), (3, 4)]
self.assertEqual(variable.dict_test(l), False)
d = dict(l)
self.assertEqual(variable.dict_test(d), True)