def METHOD_NAME():
    assert str(SafeStrDict({'a': 1})) == str({'a': 1})
    class NotImplemented():
        def __str__(self):
            raise NotImplementedError
    assert str(SafeStrDict({'a': NotImplemented()})) == str({})