17 lines
645 B
Plaintext
17 lines
645 B
Plaintext
$OpenBSD: patch-pylint_test_unittest_lint_py,v 1.2 2017/03/26 11:21:52 shadchin Exp $
|
|
--- pylint/test/unittest_lint.py.orig Sun Jan 22 18:51:04 2017
|
|
+++ pylint/test/unittest_lint.py Tue Jan 24 14:26:34 2017
|
|
@@ -512,6 +512,12 @@ class ConfigTC(unittest.TestCase):
|
|
os.environ.pop('PYLINTRC', None)
|
|
|
|
def test_pylint_home(self):
|
|
+ if os.environ['PYLINTHOME']:
|
|
+ pylintd = os.environ['PYLINTHOME']
|
|
+ reload_module(config)
|
|
+ self.assertEqual(config.PYLINT_HOME, pylintd)
|
|
+ return
|
|
+
|
|
uhome = os.path.expanduser('~')
|
|
if uhome == '~':
|
|
expected = '.pylint.d'
|