summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMarc Mueller <30130371+cdce8p@users.noreply.github.com>2021-07-01 12:47:58 +0200
committerGitHub <noreply@github.com>2021-07-01 12:47:58 +0200
commit21290866a2da5ac25a888624bec2ba350e521e98 (patch)
treec1adb65cecf4504a6cea8bf8bec92a89742c1cb9 /tests
parentf26e986077cbfa17ddb6ab498359bedfc20ead35 (diff)
downloadpylint-git-21290866a2da5ac25a888624bec2ba350e521e98.tar.gz
Fix copyright links (#4647)
* Fix link in license header * Update link to astroid bump_changelog
Diffstat (limited to 'tests')
-rw-r--r--tests/acceptance/test_stdlib.py2
-rw-r--r--tests/benchmark/test_baseline_benchmarks.py2
-rw-r--r--tests/checkers/unittest_base.py2
-rw-r--r--tests/checkers/unittest_classes.py2
-rw-r--r--tests/checkers/unittest_exceptions.py2
-rw-r--r--tests/checkers/unittest_format.py2
-rw-r--r--tests/checkers/unittest_imports.py2
-rw-r--r--tests/checkers/unittest_logging.py2
-rw-r--r--tests/checkers/unittest_misc.py2
-rw-r--r--tests/checkers/unittest_python3.py2
-rw-r--r--tests/checkers/unittest_refactoring.py2
-rw-r--r--tests/checkers/unittest_similar.py2
-rw-r--r--tests/checkers/unittest_spelling.py2
-rw-r--r--tests/checkers/unittest_stdlib.py2
-rw-r--r--tests/checkers/unittest_strings.py2
-rw-r--r--tests/checkers/unittest_typecheck.py2
-rw-r--r--tests/checkers/unittest_utils.py2
-rw-r--r--tests/checkers/unittest_variables.py2
-rw-r--r--tests/extensions/test_bad_builtin.py2
-rw-r--r--tests/extensions/test_broad_try_clause.py2
-rw-r--r--tests/extensions/test_check_docs.py2
-rw-r--r--tests/extensions/test_check_docs_utils.py2
-rw-r--r--tests/extensions/test_check_mccabe.py2
-rw-r--r--tests/extensions/test_check_raise_docs.py2
-rw-r--r--tests/extensions/test_check_return_docs.py2
-rw-r--r--tests/extensions/test_check_yields_docs.py2
-rw-r--r--tests/extensions/test_comparetozero.py2
-rw-r--r--tests/extensions/test_confusing_elif.py2
-rw-r--r--tests/extensions/test_docstyle.py2
-rw-r--r--tests/extensions/test_elseif_used.py2
-rw-r--r--tests/extensions/test_emptystring.py2
-rw-r--r--tests/extensions/test_overlapping_exceptions.py2
-rw-r--r--tests/extensions/test_redefined.py2
-rw-r--r--tests/lint/unittest_expand_modules.py2
-rw-r--r--tests/lint/unittest_lint.py2
-rw-r--r--tests/message/conftest.py2
-rw-r--r--tests/message/unittest_message.py2
-rw-r--r--tests/message/unittest_message_definition.py2
-rw-r--r--tests/message/unittest_message_definition_store.py2
-rw-r--r--tests/message/unittest_message_id_store.py2
-rw-r--r--tests/profile/test_profile_against_externals.py2
-rw-r--r--tests/test_check_parallel.py2
-rw-r--r--tests/test_func.py2
-rw-r--r--tests/test_functional.py2
-rw-r--r--tests/test_import_graph.py2
-rw-r--r--tests/test_numversion.py2
-rw-r--r--tests/test_regr.py2
-rw-r--r--tests/test_self.py2
-rw-r--r--tests/testutils/test_output_line.py2
-rw-r--r--tests/unittest_config.py2
-rw-r--r--tests/unittest_pyreverse_diadefs.py2
-rw-r--r--tests/unittest_pyreverse_inspector.py2
-rw-r--r--tests/unittest_pyreverse_writer.py2
-rw-r--r--tests/unittest_reporters_json.py2
-rw-r--r--tests/unittest_reporting.py2
-rw-r--r--tests/utils/unittest_ast_walker.py2
-rw-r--r--tests/utils/unittest_utils.py2
57 files changed, 57 insertions, 57 deletions
diff --git a/tests/acceptance/test_stdlib.py b/tests/acceptance/test_stdlib.py
index 17981177c..c5af893b4 100644
--- a/tests/acceptance/test_stdlib.py
+++ b/tests/acceptance/test_stdlib.py
@@ -1,5 +1,5 @@
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
import contextlib
import io
diff --git a/tests/benchmark/test_baseline_benchmarks.py b/tests/benchmark/test_baseline_benchmarks.py
index 6fc914d48..e7713daff 100644
--- a/tests/benchmark/test_baseline_benchmarks.py
+++ b/tests/benchmark/test_baseline_benchmarks.py
@@ -6,7 +6,7 @@
# Copyright (c) 2021 Marc Mueller <30130371+cdce8p@users.noreply.github.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
# pylint: disable=protected-access,missing-function-docstring,no-self-use
diff --git a/tests/checkers/unittest_base.py b/tests/checkers/unittest_base.py
index a210d67d1..20db31ce7 100644
--- a/tests/checkers/unittest_base.py
+++ b/tests/checkers/unittest_base.py
@@ -20,7 +20,7 @@
# Copyright (c) 2021 David Gilman <davidgilman1@gmail.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""Unittest for the base checker."""
diff --git a/tests/checkers/unittest_classes.py b/tests/checkers/unittest_classes.py
index 47ac02dde..5dae4473b 100644
--- a/tests/checkers/unittest_classes.py
+++ b/tests/checkers/unittest_classes.py
@@ -12,7 +12,7 @@
# Copyright (c) 2021 tiagohonorato <61059243+tiagohonorato@users.noreply.github.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""Unit tests for the variables checker."""
import astroid
diff --git a/tests/checkers/unittest_exceptions.py b/tests/checkers/unittest_exceptions.py
index affd5cdc9..fb34fc6d3 100644
--- a/tests/checkers/unittest_exceptions.py
+++ b/tests/checkers/unittest_exceptions.py
@@ -10,7 +10,7 @@
# Copyright (c) 2020 hippo91 <guillaume.peillex@gmail.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""Tests for pylint.checkers.exceptions."""
import astroid
diff --git a/tests/checkers/unittest_format.py b/tests/checkers/unittest_format.py
index 8d1c9077d..b12a43dd6 100644
--- a/tests/checkers/unittest_format.py
+++ b/tests/checkers/unittest_format.py
@@ -22,7 +22,7 @@
# Copyright (c) 2021 Andreas Finkler <andi.finkler@gmail.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""Check format checker helper functions"""
diff --git a/tests/checkers/unittest_imports.py b/tests/checkers/unittest_imports.py
index f10255eba..a45260c9b 100644
--- a/tests/checkers/unittest_imports.py
+++ b/tests/checkers/unittest_imports.py
@@ -13,7 +13,7 @@
# Copyright (c) 2020 Anthony Sottile <asottile@umich.edu>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""Unit tests for the imports checker."""
diff --git a/tests/checkers/unittest_logging.py b/tests/checkers/unittest_logging.py
index ee7824e1e..8dd44f684 100644
--- a/tests/checkers/unittest_logging.py
+++ b/tests/checkers/unittest_logging.py
@@ -10,7 +10,7 @@
# Copyright (c) 2020 hippo91 <guillaume.peillex@gmail.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""Unittest for the logging checker."""
import sys
diff --git a/tests/checkers/unittest_misc.py b/tests/checkers/unittest_misc.py
index fc059ba5c..a9a26e6da 100644
--- a/tests/checkers/unittest_misc.py
+++ b/tests/checkers/unittest_misc.py
@@ -12,7 +12,7 @@
# Copyright (c) 2020 hippo91 <guillaume.peillex@gmail.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""Tests for the misc checker."""
diff --git a/tests/checkers/unittest_python3.py b/tests/checkers/unittest_python3.py
index c33d166a8..28f067fe1 100644
--- a/tests/checkers/unittest_python3.py
+++ b/tests/checkers/unittest_python3.py
@@ -23,7 +23,7 @@
# Copyright (c) 2021 David Gilman <davidgilman1@gmail.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""Tests for the python3 checkers."""
diff --git a/tests/checkers/unittest_refactoring.py b/tests/checkers/unittest_refactoring.py
index 15e18db46..8963e2236 100644
--- a/tests/checkers/unittest_refactoring.py
+++ b/tests/checkers/unittest_refactoring.py
@@ -1,5 +1,5 @@
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
import astroid
diff --git a/tests/checkers/unittest_similar.py b/tests/checkers/unittest_similar.py
index 12b54e5c9..731f6a3c5 100644
--- a/tests/checkers/unittest_similar.py
+++ b/tests/checkers/unittest_similar.py
@@ -15,7 +15,7 @@
# Copyright (c) 2021 Aditya Gupta <adityagupta1089@users.noreply.github.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
from contextlib import redirect_stdout
from io import StringIO
diff --git a/tests/checkers/unittest_spelling.py b/tests/checkers/unittest_spelling.py
index 009ec21d3..2d4f5f40a 100644
--- a/tests/checkers/unittest_spelling.py
+++ b/tests/checkers/unittest_spelling.py
@@ -13,7 +13,7 @@
# Copyright (c) 2021 Eli Fine <ejfine@gmail.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""Unittest for the spelling checker."""
diff --git a/tests/checkers/unittest_stdlib.py b/tests/checkers/unittest_stdlib.py
index 962b33f37..ef02fdfe0 100644
--- a/tests/checkers/unittest_stdlib.py
+++ b/tests/checkers/unittest_stdlib.py
@@ -7,7 +7,7 @@
# Copyright (c) 2020 hippo91 <guillaume.peillex@gmail.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
import contextlib
diff --git a/tests/checkers/unittest_strings.py b/tests/checkers/unittest_strings.py
index 12b2b5139..f0888fb0f 100644
--- a/tests/checkers/unittest_strings.py
+++ b/tests/checkers/unittest_strings.py
@@ -8,7 +8,7 @@
# Copyright (c) 2021 Marc Mueller <30130371+cdce8p@users.noreply.github.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
import astroid
diff --git a/tests/checkers/unittest_typecheck.py b/tests/checkers/unittest_typecheck.py
index 88d3dab4a..772a1d59d 100644
--- a/tests/checkers/unittest_typecheck.py
+++ b/tests/checkers/unittest_typecheck.py
@@ -20,7 +20,7 @@
# Copyright (c) 2021 David Gilman <davidgilman1@gmail.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
import astroid
import pytest
diff --git a/tests/checkers/unittest_utils.py b/tests/checkers/unittest_utils.py
index 18115bfa4..87a9ea703 100644
--- a/tests/checkers/unittest_utils.py
+++ b/tests/checkers/unittest_utils.py
@@ -13,7 +13,7 @@
# Copyright (c) 2020 Anthony Sottile <asottile@umich.edu>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""Tests for the pylint.checkers.utils module."""
diff --git a/tests/checkers/unittest_variables.py b/tests/checkers/unittest_variables.py
index be7e32fe8..a3deb4b53 100644
--- a/tests/checkers/unittest_variables.py
+++ b/tests/checkers/unittest_variables.py
@@ -17,7 +17,7 @@
# Copyright (c) 2021 Marc Mueller <30130371+cdce8p@users.noreply.github.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
import os
import re
diff --git a/tests/extensions/test_bad_builtin.py b/tests/extensions/test_bad_builtin.py
index 427dd20ec..9ca435924 100644
--- a/tests/extensions/test_bad_builtin.py
+++ b/tests/extensions/test_bad_builtin.py
@@ -6,7 +6,7 @@
# Copyright (c) 2020 Damien Baty <damien.baty@polyconseil.fr>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""Tests for the pylint checker in :mod:`pylint.extensions.bad_builtin
"""
diff --git a/tests/extensions/test_broad_try_clause.py b/tests/extensions/test_broad_try_clause.py
index fb9cffbc6..c66ce5118 100644
--- a/tests/extensions/test_broad_try_clause.py
+++ b/tests/extensions/test_broad_try_clause.py
@@ -7,7 +7,7 @@
# Copyright (c) 2020 Anthony Sottile <asottile@umich.edu>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""Tests for the pylint checker in :mod:`pylint.extensions.broad_try_clause`"""
import unittest
diff --git a/tests/extensions/test_check_docs.py b/tests/extensions/test_check_docs.py
index 42b145fc8..0435fa212 100644
--- a/tests/extensions/test_check_docs.py
+++ b/tests/extensions/test_check_docs.py
@@ -15,7 +15,7 @@
# Copyright (c) 2021 Logan Miller <14319179+komodo472@users.noreply.github.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""Unit tests for the pylint checkers in :mod:`pylint.extensions.check_docs`,
in particular the parameter documentation checker `DocstringChecker`
diff --git a/tests/extensions/test_check_docs_utils.py b/tests/extensions/test_check_docs_utils.py
index 49a2eacc9..bb4203802 100644
--- a/tests/extensions/test_check_docs_utils.py
+++ b/tests/extensions/test_check_docs_utils.py
@@ -8,7 +8,7 @@
# Copyright (c) 2020 Damien Baty <damien.baty@polyconseil.fr>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""Unit tests for the pylint checkers in :mod:`pylint.extensions.check_docs`,
in particular the parameter documentation checker `DocstringChecker`
diff --git a/tests/extensions/test_check_mccabe.py b/tests/extensions/test_check_mccabe.py
index 0dcb347c0..9970f42b0 100644
--- a/tests/extensions/test_check_mccabe.py
+++ b/tests/extensions/test_check_mccabe.py
@@ -7,7 +7,7 @@
# Copyright (c) 2020 Damien Baty <damien.baty@polyconseil.fr>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""Tests for the pylint checker in :mod:`pylint.extensions.check_mccabe"""
# pylint: disable=redefined-outer-name
diff --git a/tests/extensions/test_check_raise_docs.py b/tests/extensions/test_check_raise_docs.py
index 3e3d47157..19fda4bb0 100644
--- a/tests/extensions/test_check_raise_docs.py
+++ b/tests/extensions/test_check_raise_docs.py
@@ -11,7 +11,7 @@
# Copyright (c) 2021 Marc Mueller <30130371+cdce8p@users.noreply.github.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""Unit tests for the raised exception documentation checking in the
`DocstringChecker` in :mod:`pylint.extensions.check_docs`
diff --git a/tests/extensions/test_check_return_docs.py b/tests/extensions/test_check_return_docs.py
index 20494c972..cd258f884 100644
--- a/tests/extensions/test_check_return_docs.py
+++ b/tests/extensions/test_check_return_docs.py
@@ -11,7 +11,7 @@
# Copyright (c) 2020 Anthony Sottile <asottile@umich.edu>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""Unit tests for the return documentation checking in the
`DocstringChecker` in :mod:`pylint.extensions.check_docs`
diff --git a/tests/extensions/test_check_yields_docs.py b/tests/extensions/test_check_yields_docs.py
index 3dc34345e..6bf3e15de 100644
--- a/tests/extensions/test_check_yields_docs.py
+++ b/tests/extensions/test_check_yields_docs.py
@@ -7,7 +7,7 @@
# Copyright (c) 2020 hippo91 <guillaume.peillex@gmail.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""Unit tests for the yield documentation checking in the
`DocstringChecker` in :mod:`pylint.extensions.check_docs`
diff --git a/tests/extensions/test_comparetozero.py b/tests/extensions/test_comparetozero.py
index e9bea88b4..6d37260fa 100644
--- a/tests/extensions/test_comparetozero.py
+++ b/tests/extensions/test_comparetozero.py
@@ -7,7 +7,7 @@
# Copyright (c) 2020 Anthony Sottile <asottile@umich.edu>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""Tests for the pylint checker in :mod:`pylint.extensions.emptystring"""
diff --git a/tests/extensions/test_confusing_elif.py b/tests/extensions/test_confusing_elif.py
index 131e908a2..671654e34 100644
--- a/tests/extensions/test_confusing_elif.py
+++ b/tests/extensions/test_confusing_elif.py
@@ -2,7 +2,7 @@
# Copyright (c) 2021 Andreas Finkler <andi.finkler@gmail.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""Tests for the pylint checker in :mod:`pylint.extensions.confusing_elif
"""
diff --git a/tests/extensions/test_docstyle.py b/tests/extensions/test_docstyle.py
index 336cd314f..e8d8e3e43 100644
--- a/tests/extensions/test_docstyle.py
+++ b/tests/extensions/test_docstyle.py
@@ -6,7 +6,7 @@
# Copyright (c) 2020 hippo91 <guillaume.peillex@gmail.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""Tests for the pylint checker in :mod:`pylint.extensions.check_docstring
"""
diff --git a/tests/extensions/test_elseif_used.py b/tests/extensions/test_elseif_used.py
index 8326458d0..4e3ee2d34 100644
--- a/tests/extensions/test_elseif_used.py
+++ b/tests/extensions/test_elseif_used.py
@@ -7,7 +7,7 @@
# Copyright (c) 2020 Damien Baty <damien.baty@polyconseil.fr>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""Tests for the pylint checker in :mod:`pylint.extensions.check_elif
"""
diff --git a/tests/extensions/test_emptystring.py b/tests/extensions/test_emptystring.py
index 527918972..0d3e7a3be 100644
--- a/tests/extensions/test_emptystring.py
+++ b/tests/extensions/test_emptystring.py
@@ -9,7 +9,7 @@
# Copyright (c) 2020 Anthony Sottile <asottile@umich.edu>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""Tests for the pylint checker in :mod:`pylint.extensions.emptystring
"""
diff --git a/tests/extensions/test_overlapping_exceptions.py b/tests/extensions/test_overlapping_exceptions.py
index e94a8f2a4..34a5be99a 100644
--- a/tests/extensions/test_overlapping_exceptions.py
+++ b/tests/extensions/test_overlapping_exceptions.py
@@ -1,5 +1,5 @@
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""Tests for the pylint checker in :mod:`pylint.extensions.overlapping_exceptions
"""
diff --git a/tests/extensions/test_redefined.py b/tests/extensions/test_redefined.py
index eefe4b3df..598891d3a 100644
--- a/tests/extensions/test_redefined.py
+++ b/tests/extensions/test_redefined.py
@@ -6,7 +6,7 @@
# Copyright (c) 2020 Damien Baty <damien.baty@polyconseil.fr>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""Tests for the pylint checker in :mod:`pylint.extensions.check_elif"""
from os import path as osp
diff --git a/tests/lint/unittest_expand_modules.py b/tests/lint/unittest_expand_modules.py
index a6618ce50..7b834fecf 100644
--- a/tests/lint/unittest_expand_modules.py
+++ b/tests/lint/unittest_expand_modules.py
@@ -1,5 +1,5 @@
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
import re
diff --git a/tests/lint/unittest_lint.py b/tests/lint/unittest_lint.py
index 3485b16f1..984e9759d 100644
--- a/tests/lint/unittest_lint.py
+++ b/tests/lint/unittest_lint.py
@@ -32,7 +32,7 @@
# Copyright (c) 2021 Andreas Finkler <andi.finkler@gmail.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
# pylint: disable=redefined-outer-name
import os
diff --git a/tests/message/conftest.py b/tests/message/conftest.py
index 1f5036db4..942119076 100644
--- a/tests/message/conftest.py
+++ b/tests/message/conftest.py
@@ -1,5 +1,5 @@
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
# pylint: disable=redefined-outer-name
diff --git a/tests/message/unittest_message.py b/tests/message/unittest_message.py
index 583eb1494..5a02c26a0 100644
--- a/tests/message/unittest_message.py
+++ b/tests/message/unittest_message.py
@@ -1,5 +1,5 @@
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
from pylint.message import Message
diff --git a/tests/message/unittest_message_definition.py b/tests/message/unittest_message_definition.py
index 1935d8495..743499424 100644
--- a/tests/message/unittest_message_definition.py
+++ b/tests/message/unittest_message_definition.py
@@ -1,5 +1,5 @@
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
import sys
from unittest import mock
diff --git a/tests/message/unittest_message_definition_store.py b/tests/message/unittest_message_definition_store.py
index b240af9ac..a08ca7c86 100644
--- a/tests/message/unittest_message_definition_store.py
+++ b/tests/message/unittest_message_definition_store.py
@@ -1,5 +1,5 @@
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
from contextlib import redirect_stdout
from io import StringIO
diff --git a/tests/message/unittest_message_id_store.py b/tests/message/unittest_message_id_store.py
index a411fd792..e61aba66b 100644
--- a/tests/message/unittest_message_id_store.py
+++ b/tests/message/unittest_message_id_store.py
@@ -1,5 +1,5 @@
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
import pytest
diff --git a/tests/profile/test_profile_against_externals.py b/tests/profile/test_profile_against_externals.py
index 2860411bb..dd3e72708 100644
--- a/tests/profile/test_profile_against_externals.py
+++ b/tests/profile/test_profile_against_externals.py
@@ -4,7 +4,7 @@
# Copyright (c) 2021 Marc Mueller <30130371+cdce8p@users.noreply.github.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
# pylint: disable=protected-access,missing-function-docstring,no-self-use
diff --git a/tests/test_check_parallel.py b/tests/test_check_parallel.py
index fc437bec8..86d090359 100644
--- a/tests/test_check_parallel.py
+++ b/tests/test_check_parallel.py
@@ -3,7 +3,7 @@
# Copyright (c) 2020 Frank Harrison <frank@doublethefish.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
# pylint: disable=protected-access,missing-function-docstring,no-self-use
diff --git a/tests/test_func.py b/tests/test_func.py
index 15edf59e0..73bb055fe 100644
--- a/tests/test_func.py
+++ b/tests/test_func.py
@@ -15,7 +15,7 @@
# Copyright (c) 2021 Marc Mueller <30130371+cdce8p@users.noreply.github.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""functional/non regression tests for pylint"""
diff --git a/tests/test_functional.py b/tests/test_functional.py
index c42cb0c38..f3959b8e3 100644
--- a/tests/test_functional.py
+++ b/tests/test_functional.py
@@ -18,7 +18,7 @@
# Copyright (c) 2021 Marc Mueller <30130371+cdce8p@users.noreply.github.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""Functional full-module tests for PyLint."""
import csv
diff --git a/tests/test_import_graph.py b/tests/test_import_graph.py
index 7cbaea2e8..92ca4a510 100644
--- a/tests/test_import_graph.py
+++ b/tests/test_import_graph.py
@@ -14,7 +14,7 @@
# Copyright (c) 2021 Andrew Howe <howeaj@users.noreply.github.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
# pylint: disable=redefined-outer-name
import os
diff --git a/tests/test_numversion.py b/tests/test_numversion.py
index d1f459a5a..46f154da7 100644
--- a/tests/test_numversion.py
+++ b/tests/test_numversion.py
@@ -1,5 +1,5 @@
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
import pytest
diff --git a/tests/test_regr.py b/tests/test_regr.py
index 995bab808..1f0c96ce6 100644
--- a/tests/test_regr.py
+++ b/tests/test_regr.py
@@ -12,7 +12,7 @@
# Copyright (c) 2020 Damien Baty <damien.baty@polyconseil.fr>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""non regression tests for pylint, which requires a too specific configuration
to be incorporated in the automatic functional test framework
diff --git a/tests/test_self.py b/tests/test_self.py
index b47e17453..a921248c8 100644
--- a/tests/test_self.py
+++ b/tests/test_self.py
@@ -31,7 +31,7 @@
# Copyright (c) 2021 Louis Sautier <sautier.louis@gmail.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
# pylint: disable=too-many-public-methods
diff --git a/tests/testutils/test_output_line.py b/tests/testutils/test_output_line.py
index 2fb342f32..18689f432 100644
--- a/tests/testutils/test_output_line.py
+++ b/tests/testutils/test_output_line.py
@@ -1,5 +1,5 @@
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
# pylint: disable=redefined-outer-name
diff --git a/tests/unittest_config.py b/tests/unittest_config.py
index e43d81fe0..6ca250a20 100644
--- a/tests/unittest_config.py
+++ b/tests/unittest_config.py
@@ -8,7 +8,7 @@
# Copyright (c) 2020 Anthony Sottile <asottile@umich.edu>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""Unit tests for the config module."""
diff --git a/tests/unittest_pyreverse_diadefs.py b/tests/unittest_pyreverse_diadefs.py
index beb1f7566..fbcf7fae3 100644
--- a/tests/unittest_pyreverse_diadefs.py
+++ b/tests/unittest_pyreverse_diadefs.py
@@ -14,7 +14,7 @@
# Copyright (c) 2021 bot <bot@noreply.github.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""Unit test for the extensions.diadefslib modules"""
# pylint: disable=redefined-outer-name
diff --git a/tests/unittest_pyreverse_inspector.py b/tests/unittest_pyreverse_inspector.py
index e1ff6378e..f5593de64 100644
--- a/tests/unittest_pyreverse_inspector.py
+++ b/tests/unittest_pyreverse_inspector.py
@@ -6,7 +6,7 @@
# Copyright (c) 2020 Damien Baty <damien.baty@polyconseil.fr>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""
for the visitors.diadefs module
diff --git a/tests/unittest_pyreverse_writer.py b/tests/unittest_pyreverse_writer.py
index 16a51f07d..acc47920e 100644
--- a/tests/unittest_pyreverse_writer.py
+++ b/tests/unittest_pyreverse_writer.py
@@ -12,7 +12,7 @@
# Copyright (c) 2021 Mark Byrne <31762852+mbyrnepr2@users.noreply.github.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""
unit test for visitors.diadefs and extensions.diadefslib modules
diff --git a/tests/unittest_reporters_json.py b/tests/unittest_reporters_json.py
index 11d37760e..22c165e14 100644
--- a/tests/unittest_reporters_json.py
+++ b/tests/unittest_reporters_json.py
@@ -9,7 +9,7 @@
# Copyright (c) 2020 hippo91 <guillaume.peillex@gmail.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""Test for the JSON reporter."""
diff --git a/tests/unittest_reporting.py b/tests/unittest_reporting.py
index 1c4bda9c7..77fc43f18 100644
--- a/tests/unittest_reporting.py
+++ b/tests/unittest_reporting.py
@@ -12,7 +12,7 @@
# Copyright (c) 2021 ruro <ruro.ruro@ya.ru>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
# pylint: disable=redefined-outer-name
import warnings
diff --git a/tests/utils/unittest_ast_walker.py b/tests/utils/unittest_ast_walker.py
index 5bf5b5bc6..364b35a35 100644
--- a/tests/utils/unittest_ast_walker.py
+++ b/tests/utils/unittest_ast_walker.py
@@ -1,5 +1,5 @@
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
import warnings
diff --git a/tests/utils/unittest_utils.py b/tests/utils/unittest_utils.py
index 9985b632b..79f5834bd 100644
--- a/tests/utils/unittest_utils.py
+++ b/tests/utils/unittest_utils.py
@@ -15,7 +15,7 @@
# Copyright (c) 2020 hippo91 <guillaume.peillex@gmail.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
import io