Skip to content

Commit c665b6c

Browse files
committed
test: Ensure link checker follows redirects for Towards Data Science URLs
1 parent 38d5e03 commit c665b6c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/check_links_in_ipynb.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ def check_link_in_cell(cell, r, just_tested:List[str]=[]):
7272
url,
7373
timeout=60,
7474
headers=header,
75+
allow_redirects=True,
7576
)
7677
# https://2.python-requests.org/en/master/user/quickstart/#response-status-codes
7778
req.raise_for_status()

0 commit comments

Comments
 (0)