Mercurial > hg-stable
diff tests/test-lock.py @ 41496: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 | 2372284d9457 |
line wrap: on
line diff
--- 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__':