Silence deprecation warning in test_unittest for 'None > 1'.
This is the same change that was made in 3.x when this became an error.
Silence deprecation warning in test_mmap for ValueError.message.
Replacement is from 3.3, with 'p' added to make '...Regexp'.