diff --git a/test/dtypes/test_affine_quantized.py b/test/dtypes/test_affine_quantized.py index 83f32c8420..9679f6975a 100644 --- a/test/dtypes/test_affine_quantized.py +++ b/test/dtypes/test_affine_quantized.py @@ -275,7 +275,7 @@ def test_copy__mismatch_metadata(self, apply_quant): # copy should fail due to shape mismatch with self.assertRaisesRegex( - ValueError, "Not supported args for copy_ due to metadata mistach:" + ValueError, "Not supported args for copy_ due to metadata mismatch:" ): ql2.weight.copy_(ql.weight)