> cmdutil: fix mode handling in make_file > - writable = 'w' in mode or 'a' in mode > + writable = mode not in ('r', 'rb') this seems to be a pattern, is it possible to add to test-style to catch the rest of the bad cases?