Fix test_no_error_swallowing

Path in assertion is now cross-platform.