Silence warning in test_internal