Mercurial > hg
view tests/test-contrib-emacs.t @ 42950:6fb281f39c25
py3: pass a bytestring into querydrev instead of a string that'll TypeError
This was a regression I introduced in c19d259fd6ad. When the string gets to
the memoryview in _tokenize under py3 it'll die.
Differential Revision: https://phab.mercurial-scm.org/D6869
author | Ian Moody <moz-ian@perix.co.uk> |
---|---|
date | Wed, 18 Sep 2019 00:20:43 +0100 |
parents | 19979b8b87e2 |
children | 814c7430f828 |
line wrap: on
line source
#require emacs $ emacs -q -no-site-file -batch -l $TESTDIR/../contrib/hg-test-mode.el \ > -f ert-run-tests-batch-and-exit Running 1 tests (*) (glob) passed 1/1 hg-test-mode--compilation-mode-support Ran 1 tests, 1 results as expected (*) (glob)