Skip to content

Commit

Permalink
fixt test
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-yuwang committed Jun 13, 2024
1 parent cb68452 commit 80517fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/snowflake/snowpark/_internal/open_telemetry.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,8 @@ def context_manager_code_location(frame_info, func) -> Tuple[str, int]:
target_index = -1
for i, frame in enumerate(frame_info):
file_name = os.path.basename(frame.filename)
target_index = i + decorator_number + 1
if file_name in target_class:
target_index = i + decorator_number + 1
if file_name in registration_class:
continue
break
Expand Down

0 comments on commit 80517fc

Please sign in to comment.