Skip to content

Commit d9f3ed4

Browse files
committed
Add workspace symbol support
1 parent 60b50d1 commit d9f3ed4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/plugins/test_ctags.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@
1313
@pytest.fixture(scope='session')
1414
def pyls_ctags():
1515
"""Fixture for generating ctags for the Python Langyage Server"""
16-
_fd, tag_file = tempfile.mkstemp()
16+
fd, tag_file = tempfile.mkstemp()
17+
os.close(fd) # Close our handle to the file, we just want the path
18+
1719
try:
1820
ctags.execute("ctags", tag_file, os.path.dirname(pyls.__file__))
1921
yield tag_file

0 commit comments

Comments
 (0)