def test_unknown_type(self): self.assertRaises(TypeError, frozenset, _return_datastructure_name(object()))
def test_return_datastructure_name(self): for data, expected in self.dataset: self.assertEqual(frozenset(_return_datastructure_name(data)), expected)