Test: fix env

pull/76/merge
Marco Hinz 6 years ago
parent 6bae5a77cc
commit 197b77c0d4
No known key found for this signature in database
GPG Key ID: 1C980A1B657B4A4F

@ -13,7 +13,7 @@ testfile = '/tmp/pytest_file'
class Nvim:
nvim = None
def start(self, env={}):
def start(self, env=env):
env.update(os.environ)
self.nvim = subprocess.Popen(['nvim', '-nu', 'NORC', '--headless'],
close_fds=True, env=env)

Loading…
Cancel
Save