def test_warn_len(): # nothing to test except that it doesn't throw an error at runtime s._warn_length(log, [1])