-
Notifications
You must be signed in to change notification settings - Fork 16.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
core: Add ruff rules PT (pytest) #29381
base: master
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Skipped Deployment
|
@@ -95,6 +95,7 @@ async def test_async_batch_size(messages: list, messages_2: list) -> None: | |||
assert (cb.traced_runs[0].extra or {}).get("batch_size") == 1 | |||
|
|||
|
|||
@pytest.mark.xfail(reason="This test is failing due to a bug in the testing code") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The linter found an issue in the test code here.
It was not seen before because eval_response
was never executed.
@@ -93,6 +93,7 @@ async def test_async_batch_size() -> None: | |||
assert (cb.traced_runs[0].extra or {}).get("batch_size") == 1 | |||
|
|||
|
|||
@pytest.mark.xfail(reason="This test is failing due to a bug in the testing code") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The linter found an issue in the test code here.
It was not seen before because eval_response
was never executed.
template=[graph_creator_content1, graph_creator_content2], | ||
input_variables=["variables"], | ||
partial_variables={"variables": "foo"}, | ||
) | ||
graph_analyst_template.format(variables="foo") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This call was not executed.
d637934
to
2a88aca
Compare
See https://docs.astral.sh/ruff/rules/#flake8-pytest-style-pt