Issue 14733: Custom commands don't work (original) (raw)

Thanks for the report and patch. I discovered the same thing a few weeks ago when working on a bug with a contributor; I thought there was already a bug opened for that but apparently not. The fix I had in mind is the same as your patch, and I also have a test for this.

This was not caught before because our tests use internal objects directly (i.e. the Distribution class), so the run function is not exercised by the test suite. Some of the tests are starting to use subprocess instead so that we can really test the script.