Remove an unnecessary warning when running tests.