Skip to content

Commit

Permalink
TEST-#0000: fix 'push-to-master / test docs' CI job (modin-project#6927)
Browse files Browse the repository at this point in the history
Signed-off-by: Anatoly Myachev <anatoly.myachev@intel.com>
  • Loading branch information
anmyachev authored Feb 10, 2024
1 parent c555f59 commit 25d143f
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions modin/test/test_docstring_urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,19 @@ def doc_urls(get_generated_doc_urls):

def test_all_urls_exist(doc_urls):
broken = []
# TODO: remove the hack after pandas fixes it
broken_urls = (
"https://pandas.pydata.org/pandas-docs/version/2.2.0/reference/api/pandas.DataFrame.flags.html",
"https://pandas.pydata.org/pandas-docs/version/2.2.0/reference/api/pandas.Series.info.html",
"https://pandas.pydata.org/pandas-docs/version/2.2.0/reference/api/pandas.DataFrame.isetitem.html",
"https://pandas.pydata.org/pandas-docs/version/2.2.0/reference/api/pandas.Series.swapaxes.html",
"https://pandas.pydata.org/pandas-docs/version/2.2.0/reference/api/pandas.DataFrame.to_numpy.html",
"https://pandas.pydata.org/pandas-docs/version/2.2.0/reference/api/pandas.Series.axes.html",
"https://pandas.pydata.org/pandas-docs/version/2.2.0/reference/api/pandas.Series.divmod.html",
"https://pandas.pydata.org/pandas-docs/version/2.2.0/reference/api/pandas.Series.rdivmod.html",
)
for broken_url in broken_urls:
doc_urls.remove(broken_url)

def _test_url(url):
try:
Expand Down

0 comments on commit 25d143f

Please sign in to comment.