From: Nipunn Koorapati Date: Sat, 30 Oct 2021 18:54:43 +0000 (-0700) Subject: Use STDIN project in test_projects to ensure it runs quickly (#2575) X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/92eeacc2e3ce917d6364ec06d891436f11536a1c?ds=sidebyside;hp=92eeacc2e3ce917d6364ec06d891436f11536a1c Use STDIN project in test_projects to ensure it runs quickly (#2575) Existing test was actually running a full black-primer run which could be slow. This goes from 8 seconds to 0.4 seconds on my machine. Needed to move to top level scope to leverage the caplog feature of pytest in order to test that the command line was parsing the bogus arguments and dumping to stderr. ---