Mercurial > hg-stable
view tests/.balto.toml @ 43720:3364a15f61f0
typing: fix forward reference in _Tlocalstr type bound
AFAIK, a quoted string in type position is translated to its ForwardRef.
https://github.com/python/typing/issues/34
This fixes the following error:
File "mercurial/encoding.py", line 38, in <module>: Name 'localstr' is not
defined [name-error]
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sat, 16 Nov 2019 15:10:41 +0900 |
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"