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 1414* [ imomaliev] ( https://github.com/imomaliev )
1515* [ psrb] ( https://github.com/psrb )
1616* [ 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
22import os
33import sys
44import pytest
99try :
1010 # pylint 2.5: test_functional has been moved to pylint.testutils
1111 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 )
1219except (ImportError , AttributeError ):
1320 # specify directly the directory containing test_functional.py
1421 test_functional_dir = os .getenv ('PYLINT_TEST_FUNCTIONAL_DIR' , '' )
You can’t perform that action at this time.
0 commit comments