Make the error message for single-threaded assertions prettier.