Bug fix: remove debug output

This commit is contained in:
2026-04-10 17:19:35 +02:00
parent d3e022fb13
commit d0e4ae54c3
@@ -78,7 +78,6 @@ def test_PythonPackageNamespace_namespace_exceptions(namespace, sub_namespaces,
(PythonPackageNamespace('a', []), {})
])
def test_PythonPackageNamespace_sub_namespace_names(namespace, expected):
print('NAMESPACE NAMESPACE NAMESPACE NAMESPACE NAMESPACE:', namespace)
assert namespace.sub_namespace_names() == expected
@pytest.mark.parametrize('namespace1,namespace2,expected', [
@@ -99,7 +98,6 @@ def test_PythonPackageNamespace___eq__(namespace1, namespace2, expected):
(namespace_d, 'PythonPackageNamespace(\'d\', [PythonPackageNamespace(\'e\', [PythonPackageNamespace(\'f\', [PythonPackageNamespace(\'g\', [PythonPackageNamespace(\'h\', [PythonPackageNamespace(\'i\', [PythonPackageNamespace(\'j\', [PythonModuleNamespace(\'k\')])])])])])])])')
])
def test_PythonPackageNamespace_string_representation(namespace, expected):
print(namespace)
assert repr(namespace) == expected
@pytest.mark.parametrize('namespace,new_namespace,expected', [