From e2a2001a6564af203d1d2203fc131b048d7187dc Mon Sep 17 00:00:00 2001 From: Ziv Yaniv Date: Wed, 1 Jul 2026 10:41:38 -0400 Subject: [PATCH] Fix bug in test. Access to non-existant variable when the url testing failed, updated to use the correct variable name. --- tests/test_notebooks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_notebooks.py b/tests/test_notebooks.py index 196a594..aa015f2 100755 --- a/tests/test_notebooks.py +++ b/tests/test_notebooks.py @@ -168,7 +168,7 @@ def static_analysis(self, path): request = Request(document_link[2], headers=headers) urlopen(request) except URLError: - broken_links.append(url) + broken_links.append(document_link[2]) if broken_links: cells_and_broken_links.append((broken_links, c.source)) if cells_and_broken_links: