Merging upstream version 2.9.3.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
f602091049
commit
9326612968
32 changed files with 252 additions and 75 deletions
|
@ -23,6 +23,13 @@ def test_read_pyvenv_cfg(tmpdir):
|
|||
assert python._read_pyvenv_cfg(pyvenv_cfg) == expected
|
||||
|
||||
|
||||
def test_read_pyvenv_cfg_non_utf8(tmpdir):
|
||||
pyvenv_cfg = tmpdir.join('pyvenv_cfg')
|
||||
pyvenv_cfg.write_binary('hello = hello john.š\n'.encode())
|
||||
expected = {'hello': 'hello john.š'}
|
||||
assert python._read_pyvenv_cfg(pyvenv_cfg) == expected
|
||||
|
||||
|
||||
def test_norm_version_expanduser():
|
||||
home = os.path.expanduser('~')
|
||||
if os.name == 'nt': # pragma: nt cover
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue