mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
pyupgrade fixes
This commit is contained in:
@@ -59,7 +59,7 @@ def test_ensure_pip_requirements(prefix):
|
||||
conda.ensure_conda_packages(prefix, ['pip'])
|
||||
with tempfile.NamedTemporaryFile() as f:
|
||||
# Sample small package to test
|
||||
f.write('there'.encode())
|
||||
f.write(b'there')
|
||||
f.flush()
|
||||
conda.ensure_pip_requirements(prefix, f.name)
|
||||
subprocess.check_call([
|
||||
|
||||
Reference in New Issue
Block a user