Skip to content

Commit 1ad5d9a

Browse files
committed
Remove obsolete &rtp test
1 parent 2fbca5b commit 1ad5d9a

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

test/test_vim.py

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -54,27 +54,6 @@ def test_strwidth():
5454
# 19 * 2 (each japanese character occupies two cells)
5555
eq(vim.strwidth('neovimのデザインかなりまともなのになってる。'), 44)
5656

57-
58-
@with_setup(setup=cleanup)
59-
def test_list_runtime_paths():
60-
# Is this the default runtime path list?
61-
homedir = os.path.join(os.environ['HOME'], '.nvim')
62-
vimdir = vim.eval('$VIM')
63-
dflt_rtp = [
64-
homedir,
65-
os.path.join(vimdir, 'vimfiles'),
66-
vimdir,
67-
os.path.join(vimdir, 'vimfiles', 'after')
68-
]
69-
# If the runtime is installed the default path
70-
# is nvim/runtime
71-
dflt_rtp2 = list(dflt_rtp)
72-
dflt_rtp2[2] = os.path.join(dflt_rtp2[2], 'runtime')
73-
74-
rtp = vim.list_runtime_paths()
75-
ok(rtp == dflt_rtp or rtp == dflt_rtp2)
76-
77-
7857
@with_setup(setup=cleanup)
7958
def test_chdir():
8059
pwd = vim.eval('getcwd()')

0 commit comments

Comments
 (0)