def METHOD_NAME(self) -> None:
    tensorA = torch.tensor([1, 0, 0], dtype=torch.float)
    tensorB = torch.tensor([0, 1, 0], dtype=torch.float)
    tensorC = torch.tensor([0, 0, 1], dtype=torch.float)
    tokens = ["a", "a", "c"]
    vecs = torch.stack((tensorA, tensorB, tensorC), 0)
    with self.assertRaises(RuntimeError):
        # Test proper error raised when tokens have duplicates
        # TODO: use self.assertRaisesRegex() to check
        # the key of the duplicate token in the error message
        build_vectors(tokens, vecs)