Issue #23914: Fix test_xpickle with python 2.4 and 2.5

Remove 'b' prefix from strings, remove unused import.
1 file changed