Skip to content
This repository has been archived by the owner on Jan 2, 2021. It is now read-only.

Bugfixes #224

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion caniusepython3/command.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
import setuptools
import sys

import caniusepython3 as ciu
import caniusepython3.__main__ as ciu_main
from caniusepython3 import pypi

Expand Down
2 changes: 1 addition & 1 deletion caniusepython3/dependencies.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def supports_py3(project_name):
# can't port.
del reasons[parent]
continue
log.info('Dependencies of {0}: {1}'.format(project, deps))
log.info('Dependencies of {0}: {1}'.format(parent, deps))
unchecked_deps = []
for dep in deps:
if dep in evaluated:
Expand Down
6 changes: 3 additions & 3 deletions caniusepython3/test/test_pylint_checker.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
import sys
import tokenize

from astroid import test_utils
from astroid import builder
from pylint import testutils
from pylint.testutils import CheckerTestCase

Expand Down Expand Up @@ -58,7 +58,7 @@ class StrictPython3CheckerTest(CheckerTestCase):
CHECKER_CLASS = StrictPython3Checker

def check_not_builtin(self, builtin_name, message):
node = test_utils.extract_node(builtin_name + ' #@')
node = builder.extract_node(builtin_name + ' #@')
with self.assertAddsMessages(testutils.Message(message, node=node)):
self.checker.visit_name(node)

Expand All @@ -67,7 +67,7 @@ def test_open_builtin(self):
self.check_not_builtin('open', 'open-builtin')

def test_dict_comprehension(self):
node = test_utils.extract_node('{e:"1" for e in ["one", "two"]} #@')
node = builder.extract_node('{e:"1" for e in ["one", "two"]} #@')
with self.assertNoMessages():
self.checker.visit_name(node)

Expand Down