Mercurial > hg
diff tests/test-branches.t @ 44972:9e5f598fd29b stable
py3: fix comparison between int and None
If stop is None, the condition was always false on Python 2, as None compares
smaller than ints. Therefore we make the condition false if stop is None.
author | Manuel Jacob <me@manueljacob.de> |
---|---|
date | Tue, 16 Jun 2020 14:38:50 +0200 |
parents | 2e1d9414ff71 |
children | 8d72e29ad1e0 |