def METHOD_NAME(self) -> None:
    """Test the subst_path() method on a non-Node object
    """
    class A:
        def __str__(self) -> str:
            return '<object A>'
    a = A()
    pl = SCons.PathList.PathList((a,))
    result = pl.subst_path(self.env, 'y', 'z')
    assert result == ('<object A>',), result