summaryrefslogtreecommitdiff
path: root/pylint/test/unittest_checker_python3.py
diff options
context:
space:
mode:
authorClaudiu Popa <pcmanticore@gmail.com>2018-04-05 07:48:22 +0200
committerClaudiu Popa <pcmanticore@gmail.com>2018-04-05 07:53:26 +0200
commit492711aa67531af559eb69e2a35fff8dcc094230 (patch)
tree7cc4927313d91344540f9765bc79e5c246b0656b /pylint/test/unittest_checker_python3.py
parent9f89f5693aa6066e61a4232aac2fe79aae5f1966 (diff)
downloadpylint-git-492711aa67531af559eb69e2a35fff8dcc094230.tar.gz
Catch string.letters with the Python 3 porting checker
Close #1935
Diffstat (limited to 'pylint/test/unittest_checker_python3.py')
-rw-r--r--pylint/test/unittest_checker_python3.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pylint/test/unittest_checker_python3.py b/pylint/test/unittest_checker_python3.py
index 4da2b3348..07fbb7b90 100644
--- a/pylint/test/unittest_checker_python3.py
+++ b/pylint/test/unittest_checker_python3.py
@@ -690,7 +690,7 @@ class TestPython3Checker(testutils.CheckerTestCase):
def test_ok_string_attribute(self):
node = astroid.extract_node('''
import string
- string.letters #@
+ string.ascii_letters #@
''')
with self.assertNoMessages():
self.checker.visit_attribute(node)