Skip to content

Commit 325982f

Browse files
committed
Remove unnecessary record check
1 parent ff0413d commit 325982f

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

instrumentation-genai/opentelemetry-instrumentation-vertexai/tests/test_chat_completions.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -504,11 +504,6 @@ def fixture_generate_content(
504504
"""
505505
is_async: bool = request.param
506506

507-
if is_async and vcr.record_mode != RecordMode.NONE:
508-
pytest.skip(
509-
"Skip async tests when VCR is recording so that fixtures are only recorded once"
510-
)
511-
512507
if is_async:
513508
# See
514509
# https://github.com/googleapis/python-aiplatform/blob/cb0e5fedbf45cb0531c0b8611fb7fabdd1f57e56/google/cloud/aiplatform/initializer.py#L717-L729

0 commit comments

Comments
 (0)