Mercurial > hg
view tests/.balto.toml @ 48912:a0674e916fb6
worker: silence type error when calling pickle
pytype is complaining that the argument to `pickle.load()` is not an
`IO`. pytype isn't wrong: `_blockingreader` doesn't implement
`io.RawIOBase`, only `read()` and `readline()`. But it appears this is
enough for pickle. So we silence the false positive.
This fixes a regression introduced by D12304 /
cc0e059d2af8: worker: remove Python 2 support code.
Differential Revision: https://phab.mercurial-scm.org/D12337
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Thu, 03 Mar 2022 17:39:20 -0800 |
parents | 337a38995336 |
children |
line wrap: on
line source
# Balto (https://bitbucket.org/lothiraldan/balto/src) is a test orchestrator # which is compatible with all test runner that can emit the LITF # (https://github.com/lothiraldan/litf) test format. # The plugin for the Mercurial test runner is mercurial-litf # (https://pypi.org/project/mercurial-litf/). Make sure to follow the # instruction and configuration instructions here: # https://bitbucket.org/lothiraldan/mercurial_litf/src/default/ # You can launch Balto with `balto /path/to/mercurial/tests/` name = "Mercurial Test Suite" tool = "mercurial"