def test_max_suggestions_float(self):
     """Test use of float max_suggestions."""
     node = TrieNode(label='')
     with self.assertRaises(TypeError):
         node.generate_suggestions(max_suggestions=5.0)
 def test_max_suggestions_negative(self):
     """Test use of negative integer max_suggestions."""
     node = TrieNode(label='')
     with self.assertRaises(ValueError):
         node.generate_suggestions(max_suggestions=-5)