Mercurial > hg
changeset 41482:b58d608ec6a0
tests: compare against a bytes in test-lock.py
skip-blame: just b'' prefixes
Differential Revision: https://phab.mercurial-scm.org/D5771
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Wed, 30 Jan 2019 16:54:34 -0800 |
parents | 5880b4e762cd |
children | 46ab0c6b28dc |
files | contrib/python3-whitelist tests/test-lock.py |
diffstat | 2 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/contrib/python3-whitelist Wed Jan 30 16:53:12 2019 -0800 +++ b/contrib/python3-whitelist Wed Jan 30 16:54:34 2019 -0800 @@ -363,6 +363,7 @@ test-linerange.py test-locate.t test-lock-badness.t +test-lock.py test-log-exthook.t test-log-linerange.t test-log.t
--- a/tests/test-lock.py Wed Jan 30 16:53:12 2019 -0800 +++ b/tests/test-lock.py Wed Jan 30 16:54:34 2019 -0800 @@ -290,7 +290,7 @@ self.fail("unexpected lock acquisition") except error.LockHeld as why: self.assertTrue(why.errno == errno.ETIMEDOUT) - self.assertTrue(why.locker == "") + self.assertTrue(why.locker == b"") state.assertlockexists(False) if __name__ == '__main__':