Mercurial > hg
comparison tests/test-push-http.t @ 31219:f8e06821c118
store: slice over a bytestring to get characters instead of ascii values
On Python 2,
>>> a = b'abc'
>>> a[1]
'b'
Whereas on python 3,
>>> a = b'abc'
>>> a[1]
98
>>> a[1:2]
b'b'
This does not change behaviour on python 2.
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Wed, 08 Mar 2017 00:40:15 +0530 |
parents | 636cf3f7620d |
children | 728d37353e1e |
comparison
equal
deleted
inserted
replaced
31218:4cc3797aa59c | 31219:f8e06821c118 |
---|