FIX: make test_memorized_repr pass under windows

Using eval(repr(memoized_func)) is not safe under windows as the
backslash path separator is not interpreted correctly.