summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPierre Sassoulas <pierre.sassoulas@gmail.com>2023-03-29 13:54:24 +0200
committerDaniƫl van Noord <13665637+DanielNoord@users.noreply.github.com>2023-03-29 19:19:40 +0200
commit6714f15531c78d98860d8b17123d4308205aecc6 (patch)
tree701adef92867cc5f5d974d64446b72c3ab7363b4 /tests
parent7d76924a8ef0053be6484fe12e8c6c23d7145ab5 (diff)
downloadastroid-git-6714f15531c78d98860d8b17123d4308205aecc6.tar.gz
[PyCQA migration] Upgrade links to the repositories in code and doc
Diffstat (limited to 'tests')
-rw-r--r--tests/brain/numpy/test_core_einsumfunc.py4
-rw-r--r--tests/brain/numpy/test_core_fromnumeric.py4
-rw-r--r--tests/brain/numpy/test_core_function_base.py4
-rw-r--r--tests/brain/numpy/test_core_multiarray.py4
-rw-r--r--tests/brain/numpy/test_core_numeric.py4
-rw-r--r--tests/brain/numpy/test_core_numerictypes.py6
-rw-r--r--tests/brain/numpy/test_core_umath.py4
-rw-r--r--tests/brain/numpy/test_ma.py4
-rw-r--r--tests/brain/numpy/test_ndarray.py4
-rw-r--r--tests/brain/numpy/test_random_mtrand.py4
-rw-r--r--tests/brain/test_argparse.py4
-rw-r--r--tests/brain/test_attr.py6
-rw-r--r--tests/brain/test_brain.py28
-rw-r--r--tests/brain/test_builtin.py6
-rw-r--r--tests/brain/test_ctypes.py4
-rw-r--r--tests/brain/test_dataclasses.py22
-rw-r--r--tests/brain/test_dateutil.py4
-rw-r--r--tests/brain/test_enum.py6
-rw-r--r--tests/brain/test_hashlib.py4
-rw-r--r--tests/brain/test_multiprocessing.py4
-rw-r--r--tests/brain/test_named_tuple.py8
-rw-r--r--tests/brain/test_nose.py4
-rw-r--r--tests/brain/test_pathlib.py4
-rw-r--r--tests/brain/test_pytest.py4
-rw-r--r--tests/brain/test_qt.py10
-rw-r--r--tests/brain/test_regex.py4
-rw-r--r--tests/brain/test_signal.py4
-rw-r--r--tests/brain/test_six.py6
-rw-r--r--tests/brain/test_ssl.py4
-rw-r--r--tests/brain/test_threading.py4
-rw-r--r--tests/brain/test_typing_extensions.py4
-rw-r--r--tests/brain/test_unittest.py4
-rw-r--r--tests/resources.py4
-rw-r--r--tests/test_builder.py6
-rw-r--r--tests/test_constraint.py4
-rw-r--r--tests/test_decorators.py4
-rw-r--r--tests/test_filter_statements.py4
-rw-r--r--tests/test_group_exceptions.py4
-rw-r--r--tests/test_helpers.py4
-rw-r--r--tests/test_inference.py56
-rw-r--r--tests/test_inference_calls.py12
-rw-r--r--tests/test_lookup.py6
-rw-r--r--tests/test_manager.py8
-rw-r--r--tests/test_modutils.py6
-rw-r--r--tests/test_nodes.py4
-rw-r--r--tests/test_nodes_lineno.py4
-rw-r--r--tests/test_nodes_position.py4
-rw-r--r--tests/test_object_model.py4
-rw-r--r--tests/test_objects.py4
-rw-r--r--tests/test_protocols.py6
-rw-r--r--tests/test_python3.py4
-rw-r--r--tests/test_raw_building.py8
-rw-r--r--tests/test_regrtest.py8
-rw-r--r--tests/test_scoped_nodes.py12
-rw-r--r--tests/test_stdlib.py4
-rw-r--r--tests/test_transforms.py4
-rw-r--r--tests/test_utils.py4
-rw-r--r--tests/testdata/python3/data/max_inferable_limit_for_classes/main.py2
-rw-r--r--tests/testdata/python3/data/metaclass_recursion/monkeypatch.py2
-rw-r--r--tests/testdata/python3/data/metaclass_recursion/parent.py2
60 files changed, 192 insertions, 192 deletions
diff --git a/tests/brain/numpy/test_core_einsumfunc.py b/tests/brain/numpy/test_core_einsumfunc.py
index 593eeec2..c2760ca7 100644
--- a/tests/brain/numpy/test_core_einsumfunc.py
+++ b/tests/brain/numpy/test_core_einsumfunc.py
@@ -1,6 +1,6 @@
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
-# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt
+# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE
+# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt
from __future__ import annotations
diff --git a/tests/brain/numpy/test_core_fromnumeric.py b/tests/brain/numpy/test_core_fromnumeric.py
index 4fa2099f..1d78257d 100644
--- a/tests/brain/numpy/test_core_fromnumeric.py
+++ b/tests/brain/numpy/test_core_fromnumeric.py
@@ -1,6 +1,6 @@
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
-# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt
+# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE
+# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt
import unittest
diff --git a/tests/brain/numpy/test_core_function_base.py b/tests/brain/numpy/test_core_function_base.py
index 1a59f4de..5d42946c 100644
--- a/tests/brain/numpy/test_core_function_base.py
+++ b/tests/brain/numpy/test_core_function_base.py
@@ -1,6 +1,6 @@
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
-# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt
+# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE
+# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt
import unittest
diff --git a/tests/brain/numpy/test_core_multiarray.py b/tests/brain/numpy/test_core_multiarray.py
index 0e0f9f7f..e7ccde31 100644
--- a/tests/brain/numpy/test_core_multiarray.py
+++ b/tests/brain/numpy/test_core_multiarray.py
@@ -1,6 +1,6 @@
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
-# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt
+# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE
+# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt
import unittest
diff --git a/tests/brain/numpy/test_core_numeric.py b/tests/brain/numpy/test_core_numeric.py
index 2481ecef..8970ca3b 100644
--- a/tests/brain/numpy/test_core_numeric.py
+++ b/tests/brain/numpy/test_core_numeric.py
@@ -1,6 +1,6 @@
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
-# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt
+# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE
+# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt
from __future__ import annotations
diff --git a/tests/brain/numpy/test_core_numerictypes.py b/tests/brain/numpy/test_core_numerictypes.py
index 3cf053e9..17dd83f3 100644
--- a/tests/brain/numpy/test_core_numerictypes.py
+++ b/tests/brain/numpy/test_core_numerictypes.py
@@ -1,6 +1,6 @@
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
-# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt
+# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE
+# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt
import unittest
@@ -306,7 +306,7 @@ class NumpyBrainCoreNumericTypesTest(unittest.TestCase):
Test that the return of astype method of the datetime object
is inferred as a ndarray.
- PyCQA/pylint#3332
+ pylint-dev/pylint#3332
"""
node = builder.extract_node(
"""
diff --git a/tests/brain/numpy/test_core_umath.py b/tests/brain/numpy/test_core_umath.py
index d34c0f1d..a288d585 100644
--- a/tests/brain/numpy/test_core_umath.py
+++ b/tests/brain/numpy/test_core_umath.py
@@ -1,6 +1,6 @@
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
-# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt
+# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE
+# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt
import unittest
diff --git a/tests/brain/numpy/test_ma.py b/tests/brain/numpy/test_ma.py
index 1b6bbaea..11413476 100644
--- a/tests/brain/numpy/test_ma.py
+++ b/tests/brain/numpy/test_ma.py
@@ -1,6 +1,6 @@
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
-# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt
+# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE
+# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt
import pytest
diff --git a/tests/brain/numpy/test_ndarray.py b/tests/brain/numpy/test_ndarray.py
index 1fe0f1e7..9ccadf56 100644
--- a/tests/brain/numpy/test_ndarray.py
+++ b/tests/brain/numpy/test_ndarray.py
@@ -1,6 +1,6 @@
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
-# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt
+# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE
+# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt
import unittest
diff --git a/tests/brain/numpy/test_random_mtrand.py b/tests/brain/numpy/test_random_mtrand.py
index ff3270fe..d2f3a2e8 100644
--- a/tests/brain/numpy/test_random_mtrand.py
+++ b/tests/brain/numpy/test_random_mtrand.py
@@ -1,6 +1,6 @@
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
-# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt
+# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE
+# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt
import unittest
diff --git a/tests/brain/test_argparse.py b/tests/brain/test_argparse.py
index c92f6b49..20d96e2d 100644
--- a/tests/brain/test_argparse.py
+++ b/tests/brain/test_argparse.py
@@ -1,6 +1,6 @@
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
-# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt
+# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE
+# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt
from astroid import bases, extract_node, nodes
diff --git a/tests/brain/test_attr.py b/tests/brain/test_attr.py
index d9a65f90..c0838cbe 100644
--- a/tests/brain/test_attr.py
+++ b/tests/brain/test_attr.py
@@ -1,6 +1,6 @@
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
-# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt
+# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE
+# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt
from __future__ import annotations
@@ -161,7 +161,7 @@ class AttrsTest(unittest.TestCase):
"""
foo_inst = next(astroid.extract_node(code).infer())
[attr_node] = foo_inst.getattr("__attrs_attrs__")
- # Prevents https://github.com/PyCQA/pylint/issues/1884
+ # Prevents https://github.com/pylint-dev/pylint/issues/1884
assert isinstance(attr_node, nodes.Unknown)
def test_dont_consider_assignments_but_without_attrs(self) -> None:
diff --git a/tests/brain/test_brain.py b/tests/brain/test_brain.py
index dc12ea28..3fd135db 100644
--- a/tests/brain/test_brain.py
+++ b/tests/brain/test_brain.py
@@ -1,6 +1,6 @@
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
-# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt
+# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE
+# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt
from __future__ import annotations
@@ -501,7 +501,7 @@ class TypingBrain(unittest.TestCase):
def test_namedtuple_bug_pylint_4383(self) -> None:
"""Inference of 'NamedTuple' function shouldn't cause InferenceError.
- https://github.com/PyCQA/pylint/issues/4383
+ https://github.com/pylint-dev/pylint/issues/4383
"""
node = builder.extract_node(
"""
@@ -549,7 +549,7 @@ class TypingBrain(unittest.TestCase):
self.assertIsInstance(inferred, nodes.ClassDef, node.as_string())
def test_typing_type_without_tip(self):
- """Regression test for https://github.com/PyCQA/pylint/issues/5770"""
+ """Regression test for https://github.com/pylint-dev/pylint/issues/5770"""
node = builder.extract_node(
"""
from typing import NewType
@@ -932,10 +932,10 @@ class TypingBrain(unittest.TestCase):
def test_typing_cast_multiple_inference_calls(self) -> None:
"""Inference of an outer function should not store the result for cast.
- https://github.com/PyCQA/pylint/issues/8074
+ https://github.com/pylint-dev/pylint/issues/8074
Possible solution caused RecursionErrors with Python 3.8 and CPython + PyPy.
- https://github.com/PyCQA/astroid/pull/1982
+ https://github.com/pylint-dev/astroid/pull/1982
"""
ast_nodes = builder.extract_node(
"""
@@ -1138,7 +1138,7 @@ class SubprocessTest(unittest.TestCase):
def test_subprocess_args(self) -> None:
"""Make sure the args attribute exists for Popen
- Test for https://github.com/PyCQA/pylint/issues/1860"""
+ Test for https://github.com/pylint-dev/pylint/issues/1860"""
name = astroid.extract_node(
"""
import subprocess
@@ -1594,7 +1594,7 @@ class TestLenBuiltinInference:
"""Make sure len builtin doesn't raise an AttributeError
on instances of str or bytes
- See https://github.com/PyCQA/pylint/issues/1942
+ See https://github.com/pylint-dev/pylint/issues/1942
"""
code = 'len(str("F"))'
try:
@@ -1608,7 +1608,7 @@ class TestLenBuiltinInference:
"""Make sure len calls do not trigger
recursion errors for self referential assignment
- See https://github.com/PyCQA/pylint/issues/2734
+ See https://github.com/pylint-dev/pylint/issues/2734
"""
code = """
class Data:
@@ -1996,7 +1996,7 @@ def test_str_and_bytes(code, expected_class, expected_value):
def test_no_recursionerror_on_self_referential_length_check() -> None:
"""
- Regression test for https://github.com/PyCQA/astroid/issues/777
+ Regression test for https://github.com/pylint-dev/astroid/issues/777
This test should only raise an InferenceError and no RecursionError.
"""
@@ -2015,8 +2015,8 @@ def test_no_recursionerror_on_self_referential_length_check() -> None:
def test_inference_on_outer_referential_length_check() -> None:
"""
- Regression test for https://github.com/PyCQA/pylint/issues/5244
- See also https://github.com/PyCQA/astroid/pull/1234
+ Regression test for https://github.com/pylint-dev/pylint/issues/5244
+ See also https://github.com/pylint-dev/astroid/pull/1234
This test should succeed without any error.
"""
@@ -2042,8 +2042,8 @@ def test_inference_on_outer_referential_length_check() -> None:
def test_no_attributeerror_on_self_referential_length_check() -> None:
"""
- Regression test for https://github.com/PyCQA/pylint/issues/5244
- See also https://github.com/PyCQA/astroid/pull/1234
+ Regression test for https://github.com/pylint-dev/pylint/issues/5244
+ See also https://github.com/pylint-dev/astroid/pull/1234
This test should only raise an InferenceError and no AttributeError.
"""
diff --git a/tests/brain/test_builtin.py b/tests/brain/test_builtin.py
index a1439b06..aa2924c6 100644
--- a/tests/brain/test_builtin.py
+++ b/tests/brain/test_builtin.py
@@ -1,6 +1,6 @@
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
-# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt
+# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE
+# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt
"""Unit Tests for the builtins brain module."""
@@ -129,7 +129,7 @@ class TestStringNodes:
assert inferred.value == "My name is Daniel, I'm 12.00"
def test_string_format_in_dataclass_pylint8109(self) -> None:
- """https://github.com/PyCQA/pylint/issues/8109"""
+ """https://github.com/pylint-dev/pylint/issues/8109"""
function_def = extract_node(
"""
from dataclasses import dataclass
diff --git a/tests/brain/test_ctypes.py b/tests/brain/test_ctypes.py
index fe8b2541..d9981e02 100644
--- a/tests/brain/test_ctypes.py
+++ b/tests/brain/test_ctypes.py
@@ -1,6 +1,6 @@
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
-# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt
+# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE
+# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt
import sys
diff --git a/tests/brain/test_dataclasses.py b/tests/brain/test_dataclasses.py
index 34b7b7e4..cd3fcb4c 100644
--- a/tests/brain/test_dataclasses.py
+++ b/tests/brain/test_dataclasses.py
@@ -1,6 +1,6 @@
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
-# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt
+# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE
+# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt
import pytest
@@ -140,7 +140,7 @@ def test_inference_method(module: str):
"""Test inference of dataclass attribute within a method,
with a default_factory field.
- Based on https://github.com/PyCQA/pylint/issues/2600
+ Based on https://github.com/pylint-dev/pylint/issues/2600
"""
node = astroid.extract_node(
f"""
@@ -316,7 +316,7 @@ def test_inference_generic_collection_attribute(module: str):
def test_inference_callable_attribute(module: str, typing_module: str):
"""Test that an attribute with a Callable annotation is inferred as Uninferable.
- See issue #1129 and PyCQA/pylint#4895
+ See issue #1129 and pylint-dev/pylint#4895
"""
instance = astroid.extract_node(
f"""
@@ -633,7 +633,7 @@ def test_init_field_init_false(module: str):
def test_init_override(module: str):
"""Test init for a dataclass overrides a superclass initializer.
- Based on https://github.com/PyCQA/pylint/issues/3201
+ Based on https://github.com/pylint-dev/pylint/issues/3201
"""
node = astroid.extract_node(
f"""
@@ -668,7 +668,7 @@ def test_init_attributes_from_superclasses(module: str):
"""Test init for a dataclass that inherits and overrides attributes from
superclasses.
- Based on https://github.com/PyCQA/pylint/issues/3201
+ Based on https://github.com/pylint-dev/pylint/issues/3201
"""
node = astroid.extract_node(
f"""
@@ -940,7 +940,7 @@ def test_kw_only_in_field_call() -> None:
def test_dataclass_with_unknown_base() -> None:
"""Regression test for dataclasses with unknown base classes.
- Reported in https://github.com/PyCQA/pylint/issues/7418
+ Reported in https://github.com/pylint-dev/pylint/issues/7418
"""
node = astroid.extract_node(
"""
@@ -963,7 +963,7 @@ def test_dataclass_with_unknown_base() -> None:
def test_dataclass_with_unknown_typing() -> None:
"""Regression test for dataclasses with unknown base classes.
- Reported in https://github.com/PyCQA/pylint/issues/7422
+ Reported in https://github.com/pylint-dev/pylint/issues/7422
"""
node = astroid.extract_node(
"""
@@ -987,7 +987,7 @@ def test_dataclass_with_unknown_typing() -> None:
def test_dataclass_with_default_factory() -> None:
"""Regression test for dataclasses with default values.
- Reported in https://github.com/PyCQA/pylint/issues/7425
+ Reported in https://github.com/pylint-dev/pylint/issues/7425
"""
bad_node, good_node = astroid.extract_node(
"""
@@ -1028,8 +1028,8 @@ def test_dataclass_with_default_factory() -> None:
def test_dataclass_with_multiple_inheritance() -> None:
"""Regression test for dataclasses with multiple inheritance.
- Reported in https://github.com/PyCQA/pylint/issues/7427
- Reported in https://github.com/PyCQA/pylint/issues/7434
+ Reported in https://github.com/pylint-dev/pylint/issues/7427
+ Reported in https://github.com/pylint-dev/pylint/issues/7434
"""
first, second, overwritten, overwriting, mixed = astroid.extract_node(
"""
diff --git a/tests/brain/test_dateutil.py b/tests/brain/test_dateutil.py
index d542e8b7..3e6c72e1 100644
--- a/tests/brain/test_dateutil.py
+++ b/tests/brain/test_dateutil.py
@@ -1,6 +1,6 @@
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
-# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt
+# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE
+# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt
from __future__ import annotations
diff --git a/tests/brain/test_enum.py b/tests/brain/test_enum.py
index 9d95d2ff..3ca09f2e 100644
--- a/tests/brain/test_enum.py
+++ b/tests/brain/test_enum.py
@@ -1,6 +1,6 @@
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
-# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt
+# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE
+# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt
from __future__ import annotations
@@ -437,7 +437,7 @@ class EnumBrainTest(unittest.TestCase):
self.assertTrue(inferred.locals)
def test_enum_as_renamed_import(self) -> None:
- """Originally reported in https://github.com/PyCQA/pylint/issues/5776."""
+ """Originally reported in https://github.com/pylint-dev/pylint/issues/5776."""
ast_node: nodes.Attribute = builder.extract_node(
"""
from enum import Enum as PyEnum
diff --git a/tests/brain/test_hashlib.py b/tests/brain/test_hashlib.py
index 84c8b175..01177862 100644
--- a/tests/brain/test_hashlib.py
+++ b/tests/brain/test_hashlib.py
@@ -1,6 +1,6 @@
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
-# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt
+# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE
+# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt
from __future__ import annotations
diff --git a/tests/brain/test_multiprocessing.py b/tests/brain/test_multiprocessing.py
index ebcec7f2..e6a1da5f 100644
--- a/tests/brain/test_multiprocessing.py
+++ b/tests/brain/test_multiprocessing.py
@@ -1,6 +1,6 @@
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
-# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt
+# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE
+# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt
from __future__ import annotations
diff --git a/tests/brain/test_named_tuple.py b/tests/brain/test_named_tuple.py
index dff042e6..40a96c7c 100644
--- a/tests/brain/test_named_tuple.py
+++ b/tests/brain/test_named_tuple.py
@@ -1,6 +1,6 @@
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
-# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt
+# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE
+# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt
from __future__ import annotations
@@ -25,7 +25,7 @@ class NamedTupleTest(unittest.TestCase):
self.assertEqual(
[anc.name for anc in klass.ancestors()], ["X", "tuple", "object"]
)
- # See: https://github.com/PyCQA/pylint/issues/5982
+ # See: https://github.com/pylint-dev/pylint/issues/5982
self.assertNotIn("X", klass.locals)
for anc in klass.ancestors():
self.assertFalse(anc.parent is None)
@@ -294,7 +294,7 @@ class NamedTupleTest(unittest.TestCase):
self.assertIs(util.Uninferable, inferred)
def test_name_as_typename(self) -> None:
- """Reported in https://github.com/PyCQA/pylint/issues/7429 as a crash."""
+ """Reported in https://github.com/pylint-dev/pylint/issues/7429 as a crash."""
good_node, good_node_two, bad_node = builder.extract_node(
"""
import collections
diff --git a/tests/brain/test_nose.py b/tests/brain/test_nose.py
index 7b72f285..2b615c18 100644
--- a/tests/brain/test_nose.py
+++ b/tests/brain/test_nose.py
@@ -1,6 +1,6 @@
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
-# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt
+# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE
+# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt
from __future__ import annotations
diff --git a/tests/brain/test_pathlib.py b/tests/brain/test_pathlib.py
index cc4babea..d935d964 100644
--- a/tests/brain/test_pathlib.py
+++ b/tests/brain/test_pathlib.py
@@ -1,6 +1,6 @@
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
-# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt
+# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE
+# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt
import astroid
diff --git a/tests/brain/test_pytest.py b/tests/brain/test_pytest.py
index 55ecfb2d..a063f40a 100644
--- a/tests/brain/test_pytest.py
+++ b/tests/brain/test_pytest.py
@@ -1,6 +1,6 @@
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
-# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt
+# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE
+# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt
from __future__ import annotations
diff --git a/tests/brain/test_qt.py b/tests/brain/test_qt.py
index 2d029e02..9f778355 100644
--- a/tests/brain/test_qt.py
+++ b/tests/brain/test_qt.py
@@ -1,6 +1,6 @@
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
-# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt
+# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE
+# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt
from importlib.util import find_spec
@@ -20,7 +20,7 @@ class TestBrainQt:
@staticmethod
def test_value_of_lambda_instance_attrs_is_list():
- """Regression test for https://github.com/PyCQA/pylint/issues/6221.
+ """Regression test for https://github.com/pylint-dev/pylint/issues/6221.
A crash occurred in pylint when a nodes.FunctionDef was iterated directly,
giving items like "self" instead of iterating a one-element list containing
@@ -40,7 +40,7 @@ class TestBrainQt:
@staticmethod
def test_implicit_parameters() -> None:
- """Regression test for https://github.com/PyCQA/pylint/issues/6464."""
+ """Regression test for https://github.com/pylint-dev/pylint/issues/6464."""
src = """
from PyQt6.QtCore import QTimer
timer = QTimer()
@@ -57,7 +57,7 @@ class TestBrainQt:
def test_slot_disconnect_no_args() -> None:
"""Test calling .disconnect() on a signal.
- See https://github.com/PyCQA/astroid/pull/1531#issuecomment-1111963792
+ See https://github.com/pylint-dev/astroid/pull/1531#issuecomment-1111963792
"""
src = """
from PyQt6.QtCore import QTimer
diff --git a/tests/brain/test_regex.py b/tests/brain/test_regex.py
index 0d44074d..ab83ad17 100644
--- a/tests/brain/test_regex.py
+++ b/tests/brain/test_regex.py
@@ -1,6 +1,6 @@
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
-# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt
+# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE
+# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt
try:
import regex
diff --git a/tests/brain/test_signal.py b/tests/brain/test_signal.py
index fdd4f427..a9d4e861 100644
--- a/tests/brain/test_signal.py
+++ b/tests/brain/test_signal.py
@@ -1,6 +1,6 @@
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
-# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt
+# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE
+# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt
"""Unit Tests for the signal brain module."""
diff --git a/tests/brain/test_six.py b/tests/brain/test_six.py
index c9dac562..e924ff1c 100644
--- a/tests/brain/test_six.py
+++ b/tests/brain/test_six.py
@@ -1,6 +1,6 @@
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
-# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt
+# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE
+# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt
from __future__ import annotations
@@ -79,7 +79,7 @@ class SixBrainTest(unittest.TestCase):
def test_from_submodule_imports(self) -> None:
"""Make sure ulrlib submodules can be imported from
- See PyCQA/pylint#1640 for relevant issue
+ See pylint-dev/pylint#1640 for relevant issue
"""
ast_node = builder.extract_node(
"""
diff --git a/tests/brain/test_ssl.py b/tests/brain/test_ssl.py
index f14efade..798bebfb 100644
--- a/tests/brain/test_ssl.py
+++ b/tests/brain/test_ssl.py
@@ -1,6 +1,6 @@
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
-# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt
+# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE
+# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt
"""Tests for the ssl brain."""
diff --git a/tests/brain/test_threading.py b/tests/brain/test_threading.py
index f7da03d0..f7576499 100644
--- a/tests/brain/test_threading.py
+++ b/tests/brain/test_threading.py
@@ -1,6 +1,6 @@
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
-# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt
+# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE
+# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt
from __future__ import annotations
diff --git a/tests/brain/test_typing_extensions.py b/tests/brain/test_typing_extensions.py
index 27ee6ee5..e4ee4f31 100644
--- a/tests/brain/test_typing_extensions.py
+++ b/tests/brain/test_typing_extensions.py
@@ -1,6 +1,6 @@
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
-# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt
+# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE
+# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt
from __future__ import annotations
diff --git a/tests/brain/test_unittest.py b/tests/brain/test_unittest.py
index 111d9856..aed05f76 100644
--- a/tests/brain/test_unittest.py
+++ b/tests/brain/test_unittest.py
@@ -1,6 +1,6 @@
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
-# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt
+# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE
+# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt
import unittest
diff --git a/tests/resources.py b/tests/resources.py
index 3eb833fc..455dc6fb 100644
--- a/tests/resources.py
+++ b/tests/resources.py
@@ -1,6 +1,6 @@
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
-# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt
+# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE
+# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt
from __future__ import annotations
diff --git a/tests/test_builder.py b/tests/test_builder.py
index 0da3f7f1..15ee26c5 100644
--- a/tests/test_builder.py
+++ b/tests/test_builder.py
@@ -1,6 +1,6 @@
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
-# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt
+# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE
+# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt
"""Tests for the astroid builder and rebuilder module."""
@@ -963,7 +963,7 @@ def test_arguments_of_signature() -> None:
class HermeticInterpreterTest(unittest.TestCase):
- """Modeled on https://github.com/PyCQA/astroid/pull/1207#issuecomment-951455588."""
+ """Modeled on https://github.com/pylint-dev/astroid/pull/1207#issuecomment-951455588."""
@classmethod
def setUpClass(cls):
diff --git a/tests/test_constraint.py b/tests/test_constraint.py
index ab2b4ad1..dd663002 100644
--- a/tests/test_constraint.py
+++ b/tests/test_constraint.py
@@ -1,6 +1,6 @@
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
-# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt
+# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE
+# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt
"""Tests for inference involving constraints."""
from __future__ import annotations
diff --git a/tests/test_decorators.py b/tests/test_decorators.py
index eca20b2e..8a254926 100644
--- a/tests/test_decorators.py
+++ b/tests/test_decorators.py
@@ -1,6 +1,6 @@
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
-# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt
+# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE
+# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt
import pytest
from _pytest.recwarn import WarningsRecorder
diff --git a/tests/test_filter_statements.py b/tests/test_filter_statements.py
index 9377b1e2..3fc14bd5 100644
--- a/tests/test_filter_statements.py
+++ b/tests/test_filter_statements.py
@@ -1,6 +1,6 @@
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
-# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt
+# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE
+# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt
from astroid.builder import extract_node
from astroid.filter_statements import _filter_stmts
diff --git a/tests/test_group_exceptions.py b/tests/test_group_exceptions.py
index 173c25ed..f000ee99 100644
--- a/tests/test_group_exceptions.py
+++ b/tests/test_group_exceptions.py
@@ -1,6 +1,6 @@
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
-# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt
+# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE
+# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt
import textwrap
import pytest
diff --git a/tests/test_helpers.py b/tests/test_helpers.py
index fe97eb64..398ea1d3 100644
--- a/tests/test_helpers.py
+++ b/tests/test_helpers.py
@@ -1,6 +1,6 @@
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
-# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt
+# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE
+# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt
import builtins
import unittest
diff --git a/tests/test_inference.py b/tests/test_inference.py
index 6ac55a42..a8262ce2 100644
--- a/tests/test_inference.py
+++ b/tests/test_inference.py
@@ -1,6 +1,6 @@
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
-# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt
+# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE
+# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt
"""Tests for the astroid inference capabilities."""
@@ -1374,7 +1374,7 @@ class InferenceTest(resources.SysPathSetup, unittest.TestCase):
self.assertEqual(bar_class.instance_attrs, {"attr": [assattr]})
def test_nonregr_multi_referential_addition(self) -> None:
- """Regression test for https://github.com/PyCQA/astroid/issues/483
+ """Regression test for https://github.com/pylint-dev/astroid/issues/483
Make sure issue where referring to the same variable
in the same inferred expression caused an uninferable result.
"""
@@ -1387,7 +1387,7 @@ class InferenceTest(resources.SysPathSetup, unittest.TestCase):
self.assertEqual(variable_a.inferred()[0].value, 2)
def test_nonregr_layed_dictunpack(self) -> None:
- """Regression test for https://github.com/PyCQA/astroid/issues/483
+ """Regression test for https://github.com/pylint-dev/astroid/issues/483
Make sure multiple dictunpack references are inferable.
"""
code = """
@@ -1402,7 +1402,7 @@ class InferenceTest(resources.SysPathSetup, unittest.TestCase):
def test_nonregr_inference_modifying_col_offset(self) -> None:
"""Make sure inference doesn't improperly modify col_offset.
- Regression test for https://github.com/PyCQA/pylint/issues/1839
+ Regression test for https://github.com/pylint-dev/pylint/issues/1839
"""
code = """
@@ -1420,7 +1420,7 @@ class InferenceTest(resources.SysPathSetup, unittest.TestCase):
def test_no_runtime_error_in_repeat_inference(self) -> None:
"""Stop repeat inference attempt causing a RuntimeError in Python3.7.
- See https://github.com/PyCQA/pylint/issues/2317
+ See https://github.com/pylint-dev/pylint/issues/2317
"""
code = """
@@ -2185,7 +2185,7 @@ class InferenceTest(resources.SysPathSetup, unittest.TestCase):
def test_dict_inference_unpack_repeated_key(self) -> None:
"""Make sure astroid does not infer repeated keys in a dictionary.
- Regression test for https://github.com/PyCQA/pylint/issues/1843
+ Regression test for https://github.com/pylint-dev/pylint/issues/1843
"""
code = """
base = {'data': 0}
@@ -2465,7 +2465,7 @@ class InferenceTest(resources.SysPathSetup, unittest.TestCase):
self.assertRaises(InferenceError, next, module["a"].infer())
def test_inferring_context_manager_unpacking_inference_error(self) -> None:
- # https://github.com/PyCQA/pylint/issues/1463
+ # https://github.com/pylint-dev/pylint/issues/1463
module = parse(
"""
import contextlib
@@ -2515,7 +2515,7 @@ class InferenceTest(resources.SysPathSetup, unittest.TestCase):
the first yield instead of the yield in the
proper scope
- Fixes https://github.com/PyCQA/pylint/issues/1746
+ Fixes https://github.com/pylint-dev/pylint/issues/1746
"""
code = """
from contextlib import contextmanager
@@ -3161,7 +3161,7 @@ class InferenceTest(resources.SysPathSetup, unittest.TestCase):
def test_binop_self_in_list(self) -> None:
"""If 'self' is referenced within a list it should not be bound by it.
- Reported in https://github.com/PyCQA/pylint/issues/4826.
+ Reported in https://github.com/pylint-dev/pylint/issues/4826.
"""
ast_nodes = extract_node(
"""
@@ -4180,7 +4180,7 @@ class InferenceTest(resources.SysPathSetup, unittest.TestCase):
"""The Metaclass __call__ should take precedence
over the default metaclass type call (initialization).
- See https://github.com/PyCQA/pylint/issues/2159
+ See https://github.com/pylint-dev/pylint/issues/2159
"""
val = (
extract_node(
@@ -4268,7 +4268,7 @@ class InferenceTest(resources.SysPathSetup, unittest.TestCase):
# old_boundnode fixes in infer_subscript, so it should have been
# possible to infer the subscript directly. It is the difference
# between these two cases that led to the discovery of the cause of the
- # bug in https://github.com/PyCQA/astroid/issues/904
+ # bug in https://github.com/pylint-dev/astroid/issues/904
inferred = next(attr_node.infer())
assert isinstance(inferred, nodes.Const)
assert inferred.value == 123
@@ -4384,7 +4384,7 @@ class InferenceTest(resources.SysPathSetup, unittest.TestCase):
@test_utils.require_version(minver="3.9")
def test_infer_arg_called_type_when_used_as_index_is_uninferable(self):
- # https://github.com/PyCQA/astroid/pull/958
+ # https://github.com/pylint-dev/astroid/pull/958
node = extract_node(
"""
def func(type):
@@ -4399,7 +4399,7 @@ class InferenceTest(resources.SysPathSetup, unittest.TestCase):
@test_utils.require_version(minver="3.9")
def test_infer_arg_called_type_when_used_as_subscript_is_uninferable(self):
- # https://github.com/PyCQA/astroid/pull/958
+ # https://github.com/pylint-dev/astroid/pull/958
node = extract_node(
"""
def func(type):
@@ -4412,7 +4412,7 @@ class InferenceTest(resources.SysPathSetup, unittest.TestCase):
@test_utils.require_version(minver="3.9")
def test_infer_arg_called_type_defined_in_outer_scope_is_uninferable(self):
- # https://github.com/PyCQA/astroid/pull/958
+ # https://github.com/pylint-dev/astroid/pull/958
node = extract_node(
"""
def outer(type):
@@ -5147,7 +5147,7 @@ class ArgumentsTest(unittest.TestCase):
self.assertEqual(inferred, util.Uninferable)
def test_args_overwritten(self) -> None:
- # https://github.com/PyCQA/astroid/issues/180
+ # https://github.com/pylint-dev/astroid/issues/180
node = extract_node(
"""
next = 42
@@ -5474,7 +5474,7 @@ def test_regression_infinite_loop_decorator() -> None:
"""Make sure decorators with the same names
as a decorated method do not cause an infinite loop.
- See https://github.com/PyCQA/astroid/issues/375
+ See https://github.com/pylint-dev/astroid/issues/375
"""
code = """
from functools import lru_cache
@@ -5513,7 +5513,7 @@ def test_stop_iteration_in_int() -> None:
def test_call_on_instance_with_inherited_dunder_call_method() -> None:
"""Stop inherited __call__ method from incorrectly returning wrong class.
- See https://github.com/PyCQA/pylint/issues/2199
+ See https://github.com/pylint-dev/pylint/issues/2199
"""
node = extract_node(
"""
@@ -6055,7 +6055,7 @@ def test_prevent_recursion_error_in_igetattr_and_context_manager_inference() ->
"""
node = extract_node(code)
# According to the original issue raised that introduced this test
- # (https://github.com/PyCQA/astroid/663, see 55076ca), this test was a
+ # (https://github.com/pylint-dev/astroid/663, see 55076ca), this test was a
# non-regression check for StopIteration leaking out of inference and
# causing a RuntimeError. Hence, here just consume the inferred value
# without checking it and rely on pytest to fail on raise
@@ -6591,7 +6591,7 @@ def test_dataclasses_subscript_inference_recursion_error_39():
def test_self_reference_infer_does_not_trigger_recursion_error() -> None:
- # Prevents https://github.com/PyCQA/pylint/issues/1285
+ # Prevents https://github.com/pylint-dev/pylint/issues/1285
code = """
def func(elems):
return elems
@@ -6666,7 +6666,7 @@ def test_recursion_error_metaclass_monkeypatching() -> None:
@pytest.mark.xfail(reason="Cannot fully infer all the base classes properly.")
def test_recursion_error_self_reference_type_call() -> None:
- # Fix for https://github.com/PyCQA/astroid/issues/199
+ # Fix for https://github.com/pylint-dev/astroid/issues/199
code = """
class A(object):
pass
@@ -6780,7 +6780,7 @@ def test_infer_list_of_uninferables_does_not_crash() -> None:
assert not inferred.elts
-# https://github.com/PyCQA/astroid/issues/926
+# https://github.com/pylint-dev/astroid/issues/926
def test_issue926_infer_stmts_referencing_same_name_is_not_uninferable() -> None:
code = """
pair = [1, 2]
@@ -6798,7 +6798,7 @@ def test_issue926_infer_stmts_referencing_same_name_is_not_uninferable() -> None
assert inferred[1].value == 2
-# https://github.com/PyCQA/astroid/issues/926
+# https://github.com/pylint-dev/astroid/issues/926
def test_issue926_binop_referencing_same_name_is_not_uninferable() -> None:
code = """
pair = [1, 2]
@@ -6813,7 +6813,7 @@ def test_issue926_binop_referencing_same_name_is_not_uninferable() -> None:
def test_pylint_issue_4692_attribute_inference_error_in_infer_import_from() -> None:
- """Https://github.com/PyCQA/pylint/issues/4692."""
+ """Https://github.com/pylint-dev/pylint/issues/4692."""
code = """
import click
@@ -6871,7 +6871,7 @@ def test_relative_imports_init_package() -> None:
def test_inference_of_items_on_module_dict() -> None:
"""Crash test for the inference of items() on a module's dict attribute.
- Originally reported in https://github.com/PyCQA/astroid/issues/1085
+ Originally reported in https://github.com/pylint-dev/astroid/issues/1085
"""
builder.file_build(str(DATA_DIR / "module_dict_items_call" / "test.py"), "models")
@@ -6936,12 +6936,12 @@ def test_imported_module_var_inferable3() -> None:
def test_recursion_on_inference_tip() -> None:
"""Regression test for recursion in inference tip.
- Originally reported in https://github.com/PyCQA/pylint/issues/5408.
+ Originally reported in https://github.com/pylint-dev/pylint/issues/5408.
When run on PyPy with coverage enabled, the test can sometimes raise a RecursionError
outside of the code that we actually want to test.
As the issue seems to be with coverage, skip the test on PyPy.
- https://github.com/PyCQA/astroid/pull/1984#issuecomment-1407720311
+ https://github.com/pylint-dev/astroid/pull/1984#issuecomment-1407720311
"""
code = """
class MyInnerClass:
@@ -6977,7 +6977,7 @@ def test_recursion_on_inference_tip() -> None:
def test_function_def_cached_generator() -> None:
- """Regression test for https://github.com/PyCQA/astroid/issues/817."""
+ """Regression test for https://github.com/pylint-dev/astroid/issues/817."""
funcdef: nodes.FunctionDef = extract_node("def func(): pass")
next(funcdef._infer())
diff --git a/tests/test_inference_calls.py b/tests/test_inference_calls.py
index 72afb989..31be586d 100644
--- a/tests/test_inference_calls.py
+++ b/tests/test_inference_calls.py
@@ -1,6 +1,6 @@
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
-# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt
+# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE
+# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt
"""Tests for function call inference."""
@@ -356,7 +356,7 @@ def test_method_dynamic_instance_attr_5() -> None:
But, where the outer and inner functions have the same signature.
- Inspired by https://github.com/PyCQA/pylint/issues/400
+ Inspired by https://github.com/pylint-dev/pylint/issues/400
This is currently Uninferable.
"""
@@ -503,7 +503,7 @@ def test_static_method() -> None:
def test_instance_method_inherited() -> None:
"""Tests for instance methods that are inherited from a superclass.
- Based on https://github.com/PyCQA/astroid/issues/1008.
+ Based on https://github.com/pylint-dev/astroid/issues/1008.
"""
nodes_ = builder.extract_node(
"""
@@ -534,7 +534,7 @@ def test_instance_method_inherited() -> None:
def test_class_method_inherited() -> None:
"""Tests for class methods that are inherited from a superclass.
- Based on https://github.com/PyCQA/astroid/issues/1008.
+ Based on https://github.com/pylint-dev/astroid/issues/1008.
"""
nodes_ = builder.extract_node(
"""
@@ -565,7 +565,7 @@ def test_class_method_inherited() -> None:
def test_chained_attribute_inherited() -> None:
"""Tests for class methods that are inherited from a superclass.
- Based on https://github.com/PyCQA/pylint/issues/4220.
+ Based on https://github.com/pylint-dev/pylint/issues/4220.
"""
node = builder.extract_node(
"""
diff --git a/tests/test_lookup.py b/tests/test_lookup.py
index cc882e62..475516b6 100644
--- a/tests/test_lookup.py
+++ b/tests/test_lookup.py
@@ -1,6 +1,6 @@
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
-# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt
+# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE
+# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt
"""Tests for the astroid variable lookup capabilities."""
import functools
@@ -671,7 +671,7 @@ class LookupControlFlowTest(unittest.TestCase):
"""Test lookup works correctly when a variable appears in an if condition,
and the variable is reassigned in each branch.
- This is based on PyCQA/pylint issue #3711.
+ This is based on pylint-dev/pylint issue #3711.
"""
code = """
x = 10
diff --git a/tests/test_manager.py b/tests/test_manager.py
index 9b9b24fe..16f1be80 100644
--- a/tests/test_manager.py
+++ b/tests/test_manager.py
@@ -1,6 +1,6 @@
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
-# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt
+# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE
+# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt
import os
import site
@@ -154,7 +154,7 @@ class AstroidManagerTest(
side_effect=AttributeError,
)
def test_module_unexpectedly_missing_path(self, mocked) -> None:
- """Https://github.com/PyCQA/pylint/issues/7592."""
+ """Https://github.com/pylint-dev/pylint/issues/7592."""
self.assertFalse(util.is_namespace("astroid"))
def test_module_unexpectedly_spec_is_none(self) -> None:
@@ -364,7 +364,7 @@ class AstroidManagerTest(
def test_same_name_import_module(self) -> None:
"""Test inference of an import statement with the same name as the module.
- See https://github.com/PyCQA/pylint/issues/5151.
+ See https://github.com/pylint-dev/pylint/issues/5151.
"""
math_file = resources.find("data/import_conflicting_names/math.py")
module = self.manager.ast_from_file(math_file)
diff --git a/tests/test_modutils.py b/tests/test_modutils.py
index 0c8bee88..c22da534 100644
--- a/tests/test_modutils.py
+++ b/tests/test_modutils.py
@@ -1,6 +1,6 @@
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
-# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt
+# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE
+# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt
"""Unit tests for module modutils (module manipulation utilities)."""
import email
@@ -218,7 +218,7 @@ class ModPathFromFileTest(unittest.TestCase):
"""Test that we correctly find packages with an __init__.py file.
Regression test for issue reported in:
- https://github.com/PyCQA/astroid/issues/1327
+ https://github.com/pylint-dev/astroid/issues/1327
"""
tmp_dir = Path(tempfile.gettempdir())
self.addCleanup(os.chdir, os.getcwd())
diff --git a/tests/test_nodes.py b/tests/test_nodes.py
index 2c7d95b7..b51bd926 100644
--- a/tests/test_nodes.py
+++ b/tests/test_nodes.py
@@ -1,6 +1,6 @@
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
-# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt
+# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE
+# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt
"""Tests for specific behaviour of astroid nodes."""
diff --git a/tests/test_nodes_lineno.py b/tests/test_nodes_lineno.py
index 9e6a4908..962fe483 100644
--- a/tests/test_nodes_lineno.py
+++ b/tests/test_nodes_lineno.py
@@ -1,6 +1,6 @@
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
-# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt
+# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE
+# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt
import textwrap
diff --git a/tests/test_nodes_position.py b/tests/test_nodes_position.py
index 9a637657..452cd054 100644
--- a/tests/test_nodes_position.py
+++ b/tests/test_nodes_position.py
@@ -1,6 +1,6 @@
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
-# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt
+# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE
+# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt
from __future__ import annotations
diff --git a/tests/test_object_model.py b/tests/test_object_model.py
index 8f41eda5..56f1348d 100644
--- a/tests/test_object_model.py
+++ b/tests/test_object_model.py
@@ -1,6 +1,6 @@
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
-# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt
+# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE
+# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt
import unittest
import xml
diff --git a/tests/test_objects.py b/tests/test_objects.py
index d5994cc8..e9e8726c 100644
--- a/tests/test_objects.py
+++ b/tests/test_objects.py
@@ -1,6 +1,6 @@
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
-# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt
+# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE
+# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt
from __future__ import annotations
diff --git a/tests/test_protocols.py b/tests/test_protocols.py
index 48351bcf..4841ae7b 100644
--- a/tests/test_protocols.py
+++ b/tests/test_protocols.py
@@ -1,6 +1,6 @@
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
-# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt
+# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE
+# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt
from __future__ import annotations
@@ -171,7 +171,7 @@ class ProtocolTests(unittest.TestCase):
)
def test_assigned_stmts_starred_inside_call(self) -> None:
- """Regression test for https://github.com/PyCQA/pylint/issues/6372."""
+ """Regression test for https://github.com/pylint-dev/pylint/issues/6372."""
code = "string_twos = ''.join(str(*y) for _, *y in [[1, 2], [1, 2]]) #@"
stmt = extract_node(code)
starred = next(stmt.nodes_of_class(nodes.Starred))
diff --git a/tests/test_python3.py b/tests/test_python3.py
index 07bccc56..7593a2ad 100644
--- a/tests/test_python3.py
+++ b/tests/test_python3.py
@@ -1,6 +1,6 @@
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
-# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt
+# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE
+# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt
import unittest
from textwrap import dedent
diff --git a/tests/test_raw_building.py b/tests/test_raw_building.py
index cfb5d1b5..153b76ec 100644
--- a/tests/test_raw_building.py
+++ b/tests/test_raw_building.py
@@ -5,8 +5,8 @@ to simulate issues in unittest below
"""
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
-# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt
+# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE
+# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt
from __future__ import annotations
@@ -103,7 +103,7 @@ class RawBuildingTC(unittest.TestCase):
self.assertEqual(buffered_reader.root().name, "io")
def test_build_function_deepinspect_deprecation(self) -> None:
- # Tests https://github.com/PyCQA/astroid/issues/1717
+ # Tests https://github.com/pylint-dev/astroid/issues/1717
# When astroid deep inspection of modules raises
# attribute errors when getting all attributes
# Create a mock module to simulate a Cython module
@@ -116,7 +116,7 @@ class RawBuildingTC(unittest.TestCase):
AstroidBuilder().module_build(m, "test")
def test_module_object_with_broken_getattr(self) -> None:
- # Tests https://github.com/PyCQA/astroid/issues/1958
+ # Tests https://github.com/pylint-dev/astroid/issues/1958
# When astroid deep inspection of modules raises
# errors when using hasattr().
diff --git a/tests/test_regrtest.py b/tests/test_regrtest.py
index 46db87ea..b135081a 100644
--- a/tests/test_regrtest.py
+++ b/tests/test_regrtest.py
@@ -1,6 +1,6 @@
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
-# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt
+# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE
+# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt
import sys
import textwrap
@@ -375,7 +375,7 @@ def test_crash_in_dunder_inference_prevented() -> None:
def test_regression_crash_classmethod() -> None:
"""Regression test for a crash reported in
- https://github.com/PyCQA/pylint/issues/4982.
+ https://github.com/pylint-dev/pylint/issues/4982.
"""
code = """
class Base:
@@ -397,7 +397,7 @@ def test_regression_crash_classmethod() -> None:
def test_max_inferred_for_complicated_class_hierarchy() -> None:
"""Regression test for a crash reported in
- https://github.com/PyCQA/pylint/issues/5679.
+ https://github.com/pylint-dev/pylint/issues/5679.
The class hierarchy of 'sqlalchemy' is so intricate that it becomes uninferable with
the standard max_inferred of 100. We used to crash when this happened.
diff --git a/tests/test_scoped_nodes.py b/tests/test_scoped_nodes.py
index 2722c56f..15906f58 100644
--- a/tests/test_scoped_nodes.py
+++ b/tests/test_scoped_nodes.py
@@ -1,6 +1,6 @@
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
-# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt
+# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE
+# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt
"""Tests for specific behaviour of astroid scoped nodes (i.e. module, class and
function).
@@ -1405,7 +1405,7 @@ class ClassNodeTest(ModuleLoader, unittest.TestCase):
@unittest.skipUnless(HAS_SIX, "These tests require the six library")
def test_metaclass_generator_hack_enum_base(self):
- """Regression test for https://github.com/PyCQA/pylint/issues/5935"""
+ """Regression test for https://github.com/pylint-dev/pylint/issues/5935"""
klass = builder.extract_node(
"""
import six
@@ -1913,7 +1913,7 @@ class ClassNodeTest(ModuleLoader, unittest.TestCase):
"""Regression test for mro() inference on typing_extesnions.
Regression reported in:
- https://github.com/PyCQA/astroid/issues/1124
+ https://github.com/pylint-dev/astroid/issues/1124
"""
module = parse(
"""
@@ -2483,7 +2483,7 @@ def test_issue940_metaclass_funcdef_is_not_datadescriptor() -> None:
def test_property_in_body_of_try() -> None:
- """Regression test for https://github.com/PyCQA/pylint/issues/6596."""
+ """Regression test for https://github.com/pylint-dev/pylint/issues/6596."""
node: nodes.Return = builder._extract_single_node(
"""
def myfunc():
@@ -2733,7 +2733,7 @@ def test_posonlyargs_default_value() -> None:
def test_ancestor_with_generic() -> None:
- # https://github.com/PyCQA/astroid/issues/942
+ # https://github.com/pylint-dev/astroid/issues/942
tree = builder.parse(
"""
from typing import TypeVar, Generic
diff --git a/tests/test_stdlib.py b/tests/test_stdlib.py
index f99c31a2..4027faa3 100644
--- a/tests/test_stdlib.py
+++ b/tests/test_stdlib.py
@@ -1,6 +1,6 @@
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
-# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt
+# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE
+# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt
"""Tests for modules in the stdlib."""
diff --git a/tests/test_transforms.py b/tests/test_transforms.py
index 0f5b9c6e..8494694d 100644
--- a/tests/test_transforms.py
+++ b/tests/test_transforms.py
@@ -1,6 +1,6 @@
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
-# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt
+# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE
+# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt
from __future__ import annotations
diff --git a/tests/test_utils.py b/tests/test_utils.py
index 417b0dc0..a0f2137a 100644
--- a/tests/test_utils.py
+++ b/tests/test_utils.py
@@ -1,6 +1,6 @@
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
-# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt
+# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE
+# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt
import unittest
diff --git a/tests/testdata/python3/data/max_inferable_limit_for_classes/main.py b/tests/testdata/python3/data/max_inferable_limit_for_classes/main.py
index 2588d916..5f64c2e5 100644
--- a/tests/testdata/python3/data/max_inferable_limit_for_classes/main.py
+++ b/tests/testdata/python3/data/max_inferable_limit_for_classes/main.py
@@ -1,6 +1,6 @@
"""This example is based on sqlalchemy.
-See https://github.com/PyCQA/pylint/issues/5679
+See https://github.com/pylint-dev/pylint/issues/5679
"""
from other_funcs import FromClause
diff --git a/tests/testdata/python3/data/metaclass_recursion/monkeypatch.py b/tests/testdata/python3/data/metaclass_recursion/monkeypatch.py
index 757bb3f8..0f16a3b5 100644
--- a/tests/testdata/python3/data/metaclass_recursion/monkeypatch.py
+++ b/tests/testdata/python3/data/metaclass_recursion/monkeypatch.py
@@ -1,4 +1,4 @@
-# https://github.com/PyCQA/astroid/issues/749
+# https://github.com/pylint-dev/astroid/issues/749
# Not an actual module but allows us to reproduce the issue
from tests.testdata.python3.data.metaclass_recursion import parent
diff --git a/tests/testdata/python3/data/metaclass_recursion/parent.py b/tests/testdata/python3/data/metaclass_recursion/parent.py
index 5cff73e0..28d021bd 100644
--- a/tests/testdata/python3/data/metaclass_recursion/parent.py
+++ b/tests/testdata/python3/data/metaclass_recursion/parent.py
@@ -1,3 +1,3 @@
-# https://github.com/PyCQA/astroid/issues/749
+# https://github.com/pylint-dev/astroid/issues/749
class OriginalClass:
pass