summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAnthony Sottile <asottile@umich.edu>2021-04-03 18:08:19 -0700
committerAnthony Sottile <asottile@umich.edu>2021-04-03 18:21:02 -0700
commit3b57778160e25adc6483efba1f8bd0523fed1417 (patch)
tree32de0f95f012bf49d6ffa1b476f855e2bfd7e605 /tests
parentfe0e2495ce96156cd115444b00675c7339888c91 (diff)
downloadflake8-3b57778160e25adc6483efba1f8bd0523fed1417.tar.gz
fix links in code
Diffstat (limited to 'tests')
-rw-r--r--tests/integration/test_main.py4
-rw-r--r--tests/unit/test_file_checker.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/integration/test_main.py b/tests/integration/test_main.py
index 10ccc54..765e752 100644
--- a/tests/integration/test_main.py
+++ b/tests/integration/test_main.py
@@ -207,7 +207,7 @@ def test_bug_report_successful(capsys):
def test_specific_noqa_does_not_clobber_pycodestyle_noqa(tmpdir, capsys):
- """See https://gitlab.com/pycqa/flake8/issues/552."""
+ """See https://github.com/pycqa/flake8/issues/1104."""
with tmpdir.as_cwd():
tmpdir.join('t.py').write("test = ('ABC' == None) # noqa: E501\n")
_call_main(['t.py'], retv=1)
@@ -219,7 +219,7 @@ t.py:1:15: E711 comparison to None should be 'if cond is None:'
def test_specific_noqa_on_line_with_continuation(tmpdir, capsys):
- """See https://gitlab.com/pycqa/flake8/issues/375."""
+ """See https://github.com/pycqa/flake8/issues/621."""
t_py_src = '''\
from os \\
import path # noqa: F401
diff --git a/tests/unit/test_file_checker.py b/tests/unit/test_file_checker.py
index 2b80919..57a47ab 100644
--- a/tests/unit/test_file_checker.py
+++ b/tests/unit/test_file_checker.py
@@ -11,7 +11,7 @@ from flake8 import checker
def test_run_ast_checks_handles_SyntaxErrors(FileProcessor): # noqa: N802,N803
"""Stress our SyntaxError handling.
- Related to: https://gitlab.com/pycqa/flake8/issues/237
+ Related to: https://github.com/pycqa/flake8/issues/169
"""
processor = mock.Mock(lines=[])
FileProcessor.return_value = processor