test-check-pylint: match its output
authorJun Wu <quark@fb.com>
Fri, 07 Apr 2017 11:09:54 -0700
changeset 31839 5b048d5f8884
parent 31838 c39e7c4b535c
child 31840 7973e0a15bd4
test-check-pylint: match its output "pylint --version" shows: pylint 2.0.0, astroid 1.5.0 Python 2.7.13 (default, Dec 21 2016, 07:16:46) [GCC 6.2.1 20160830] I got "Your code has been rated at 10.00/10" every time and didn't know how to turn it off. Therefore the fix.
tests/test-check-pylint.t
--- a/tests/test-check-pylint.t	Thu Apr 06 19:01:51 2017 -0700
+++ b/tests/test-check-pylint.t	Fri Apr 07 11:09:54 2017 -0700
@@ -13,3 +13,7 @@
   $ pylint --rcfile=$TESTTMP/fakerc --disable=all \
   >   --enable=W0102 --reports=no \
   >   mercurial hgext hgext3rd
+   (?)
+  ------------------------------------ (?)
+  Your code has been rated at 10.00/10 (?)
+   (?)