Skip to content

Commit

Permalink
Add expected pandas 1.5 warning (#936)
Browse files Browse the repository at this point in the history
  • Loading branch information
jarrodmillman committed Sep 20, 2022
1 parent 0b29fea commit 9843963
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/prerelease.yml
Expand Up @@ -43,7 +43,7 @@ jobs:
text = Path("./warnings.txt").read_text().strip()
print("\n=== Sphinx Warnings ===\n\n" + text) # Print just for reference so we can look at the logs
unexpected = [ii for ii in text.split("\n") if all(i not in ii for i in ["kitchen-sink", "_static", "parse.py"])]
unexpected = [ii for ii in text.split("\n") if all(i not in ii for i in ["frame.py", "_static", "parse.py"])]
print("\n=== Unexpected Warnings ===\n\n" + "\n".join(unexpected))
env_file = os.getenv('GITHUB_ENV')
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Expand Up @@ -60,7 +60,7 @@ jobs:
from pathlib import Path
text = Path("./warnings.txt").read_text().strip()
print("\n=== Sphinx Warnings ===\n\n" + text) # Print just for reference so we can look at the logs
unexpected = [ii for ii in text.split("\n") if all(i not in ii for i in ["kitchen-sink", "_static", "parse.py"])]
unexpected = [ii for ii in text.split("\n") if all(i not in ii for i in ["frame.py", "_static", "parse.py"])]
for ii in unexpected:
print(f"Unexpected warning: \n{unexpected}\n\n")
assert len(unexpected) == 0
Expand Down

0 comments on commit 9843963

Please sign in to comment.