Refactor a bunch of common code in yapf_test
1 file changed