tests/test-check-pytype.t
changeset 48480 cfb4f1dee978
parent 48479 dcdecec401ca
child 48482 d2fff292c265
equal deleted inserted replaced
48479:dcdecec401ca 48480:cfb4f1dee978
    42 mercurial/win32.py            # [not-callable]
    42 mercurial/win32.py            # [not-callable]
    43 mercurial/wireprotoframing.py # [unsupported-operands], [attribute-error], [import-error]
    43 mercurial/wireprotoframing.py # [unsupported-operands], [attribute-error], [import-error]
    44 mercurial/wireprotoserver.py  # line 253, in _availableapis: No attribute '__iter__' on Callable[[Any, Any], Any] [attribute-error]
    44 mercurial/wireprotoserver.py  # line 253, in _availableapis: No attribute '__iter__' on Callable[[Any, Any], Any] [attribute-error]
    45 mercurial/wireprotov1peer.py  # [attribute-error]
    45 mercurial/wireprotov1peer.py  # [attribute-error]
    46 mercurial/wireprotov1server.py  # BUG?: BundleValueError handler accesses subclass's attrs
    46 mercurial/wireprotov1server.py  # BUG?: BundleValueError handler accesses subclass's attrs
    47 mercurial/wireprotov2server.py  # [unsupported-operands], [attribute-error]
       
    48 
    47 
    49 TODO: use --no-cache on test server?  Caching the files locally helps during
    48 TODO: use --no-cache on test server?  Caching the files locally helps during
    50 development, but may be a hinderance for CI testing.
    49 development, but may be a hinderance for CI testing.
    51 
    50 
    52   $ pytype -V 3.6 --keep-going --jobs auto mercurial \
    51   $ pytype -V 3.6 --keep-going --jobs auto mercurial \
    83   >    -x mercurial/win32.py \
    82   >    -x mercurial/win32.py \
    84   >    -x mercurial/wireprotoframing.py \
    83   >    -x mercurial/wireprotoframing.py \
    85   >    -x mercurial/wireprotoserver.py \
    84   >    -x mercurial/wireprotoserver.py \
    86   >    -x mercurial/wireprotov1peer.py \
    85   >    -x mercurial/wireprotov1peer.py \
    87   >    -x mercurial/wireprotov1server.py \
    86   >    -x mercurial/wireprotov1server.py \
    88   >    -x mercurial/wireprotov2server.py \
       
    89   >  > $TESTTMP/pytype-output.txt || cat $TESTTMP/pytype-output.txt
    87   >  > $TESTTMP/pytype-output.txt || cat $TESTTMP/pytype-output.txt
    90 
    88 
    91 Only show the results on a failure, because the output on success is also
    89 Only show the results on a failure, because the output on success is also
    92 voluminous and variable.
    90 voluminous and variable.