diff options
Diffstat (limited to 'tests/mason-core/managers')
| -rw-r--r-- | tests/mason-core/managers/pip3_spec.lua | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/tests/mason-core/managers/pip3_spec.lua b/tests/mason-core/managers/pip3_spec.lua index cf7aff9b..9ad8e1d8 100644 --- a/tests/mason-core/managers/pip3_spec.lua +++ b/tests/mason-core/managers/pip3_spec.lua @@ -63,62 +63,22 @@ describe("pip3 manager", function() it( "should exhaust python3 executable candidates if all fail", async_test(function() - vim.g.python3_host_prog = "/my/python3" local handle = InstallHandleGenerator "dummy" local ctx = InstallContextGenerator(handle) ctx.spawn.python3 = spy.new(mockx.throws()) ctx.spawn.python = spy.new(mockx.throws()) - ctx.spawn[vim.g.python3_host_prog] = spy.new(mockx.throws()) local err = assert.has_error(function() installer.prepare_installer(ctx):get_or_throw() installer.exec_in_context(ctx, pip3.packages { "package" }) end) - vim.g.python3_host_prog = nil |
