def KeyFromPath(self, path):
    return tuple(path)

  # End of stuff that needs to be overwritten by subclasses
Turns path as used by Trie class being tested into a key.
dataset/ETHPy150Open google/pygtrie/test.py/TrieTestCase.KeyFromPath