File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 14
14
* [ imomaliev] ( https://github.com/imomaliev )
15
15
* [ psrb] ( https://github.com/psrb )
16
16
* [ WayneLambert] ( https://github.com/WayneLambert )
17
+ * [ alejandro-angulo] ( https://github.com/alejandro-angulo )
18
+
Original file line number Diff line number Diff line change 1
-
1
+ import csv
2
2
import os
3
3
import sys
4
4
import pytest
9
9
try :
10
10
# pylint 2.5: test_functional has been moved to pylint.testutils
11
11
from pylint .testutils import FunctionalTestFile , LintModuleTest
12
+
13
+ if "test" not in csv .list_dialects ():
14
+ class test_dialect (csv .excel ):
15
+ delimiter = ":"
16
+ lineterminator = "\n "
17
+
18
+ csv .register_dialect ("test" , test_dialect )
12
19
except (ImportError , AttributeError ):
13
20
# specify directly the directory containing test_functional.py
14
21
test_functional_dir = os .getenv ('PYLINT_TEST_FUNCTIONAL_DIR' , '' )
You can’t perform that action at this time.
0 commit comments