diff --git a/tests/integration/test_transaction_integration.py b/tests/integration/test_transaction_integration.py index 15651dfc..e247fd85 100644 --- a/tests/integration/test_transaction_integration.py +++ b/tests/integration/test_transaction_integration.py @@ -183,8 +183,6 @@ def test_transact_write__error__transaction_cancelled__condition_check_failure__ assert exc_info.value.cancellation_reasons == [ CancellationReason(code='ConditionalCheckFailed', message='The conditional request failed', raw_item=User(1).to_dynamodb_dict()), ] - assert isinstance(exc_info.value.cause, botocore.exceptions.ClientError) - assert User.Meta.table_name in exc_info.value.cause.MSG_TEMPLATE @pytest.mark.ddblocal