Skip to content

Commit 160beee

Browse files
committed
fix: resolve flake8 unused variable error
1 parent 00f9b39 commit 160beee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/scripts/data/datasource/test_s3.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ def test_different_addressing_styles(self):
223223

224224
# 创建 S3DataSource 实例以触发 boto3.client 调用
225225
input_args = InputArgs(**config)
226-
datasource = S3DataSource(input_args=input_args)
226+
_ = S3DataSource(input_args=input_args)
227227

228228
# 验证 boto3.client 被调用了
229229
self.assertTrue(mock_client.called)

0 commit comments

Comments
 (0)