Skip to content

Commit 4a390c9

Browse files
committed
fix warning
1 parent 3fe2428 commit 4a390c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/tests_pytorch/deprecated_api/test_remove_1-9.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ def test_pytorch_profiler_register_record_function_deprecation_warning():
201201
def test_gpu_accelerator_deprecation_warning():
202202
with pytest.deprecated_call(
203203
match=(
204-
"The GPUAccelerator has been renamed to CUDAAccelerator and will be removed in v1.9"
204+
"The GPUAccelerator has been renamed to CUDAAccelerator and will be removed in v1.9."
205205
+ " Please use the CUDAAccelerator instead!"
206206
)
207207
):

0 commit comments

Comments
 (0)