@@ -245,7 +245,7 @@ def test_pool_lifecycle(self):
245
245
# Spend it and hope it fails!
246
246
with pytest .raises (
247
247
BadSpendBundleError ,
248
- match = re .escape (f"condition validation failure { Err .ASSERT_ANNOUNCE_CONSUMED_FAILED . name } " ),
248
+ match = re .escape (f"condition validation failure { Err .ASSERT_ANNOUNCE_CONSUMED_FAILED !s } " ),
249
249
):
250
250
coin_db .update_coin_store_for_spend_bundle (
251
251
SpendBundle ([singleton_coinsol ], G2Element ()), time , DEFAULT_CONSTANTS .MAX_BLOCK_COST_CLVM
@@ -273,7 +273,7 @@ def test_pool_lifecycle(self):
273
273
# Spend it and hope it fails!
274
274
with pytest .raises (
275
275
BadSpendBundleError ,
276
- match = re .escape (f"condition validation failure { Err .ASSERT_ANNOUNCE_CONSUMED_FAILED . name } " ),
276
+ match = re .escape (f"condition validation failure { Err .ASSERT_ANNOUNCE_CONSUMED_FAILED !s } " ),
277
277
):
278
278
coin_db .update_coin_store_for_spend_bundle (
279
279
SpendBundle ([singleton_coinsol , bad_coinsol ], G2Element ()), time , DEFAULT_CONSTANTS .MAX_BLOCK_COST_CLVM
@@ -326,7 +326,7 @@ def test_pool_lifecycle(self):
326
326
# Spend it and hope it fails!
327
327
with pytest .raises (
328
328
BadSpendBundleError ,
329
- match = re .escape (f"condition validation failure { Err .ASSERT_HEIGHT_RELATIVE_FAILED . name } " ),
329
+ match = re .escape (f"condition validation failure { Err .ASSERT_HEIGHT_RELATIVE_FAILED !s } " ),
330
330
):
331
331
coin_db .update_coin_store_for_spend_bundle (
332
332
SpendBundle ([return_coinsol ], sig ), time , DEFAULT_CONSTANTS .MAX_BLOCK_COST_CLVM
0 commit comments