We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60b50d1 commit d9f3ed4Copy full SHA for d9f3ed4
test/plugins/test_ctags.py
@@ -13,7 +13,9 @@
13
@pytest.fixture(scope='session')
14
def pyls_ctags():
15
"""Fixture for generating ctags for the Python Langyage Server"""
16
- _fd, tag_file = tempfile.mkstemp()
+ fd, tag_file = tempfile.mkstemp()
17
+ os.close(fd) # Close our handle to the file, we just want the path
18
+
19
try:
20
ctags.execute("ctags", tag_file, os.path.dirname(pyls.__file__))
21
yield tag_file
0 commit comments