Skip to content

Commit ffe926f

Browse files
committed
Disable warning in python3
1 parent ea311a4 commit ffe926f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pymode/utils.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
import os.path
33
import sys
44
import threading
5+
import warnings
56
from contextlib import contextmanager
67

78
import vim # noqa
@@ -16,6 +17,8 @@
1617
DEBUG = int(vim.eval('g:pymode_debug'))
1718
PY2 = sys.version_info[0] == 2
1819

20+
warnings.filterwarnings('ignore')
21+
1922

2023
@contextmanager
2124
def silence_stderr():

0 commit comments

Comments
 (0)