Fix type-check assertion in ems test to use `is`

decimal_prices_thru_ems
Tyler Goodlet 2025-04-24 12:53:32 -04:00
parent d655e81290
commit bf33cb93b1
1 changed files with 1 additions and 1 deletions

View File

@ -179,7 +179,7 @@ def test_ems_err_on_bad_broker(
# NOTE: emsd should error on the actor's enabled modules
# import phase, when looking for a backend named `doggy`.
except tractor.RemoteActorError as re:
assert re.type == ModuleNotFoundError
assert re.type is ModuleNotFoundError
run_and_tollerate_cancels(load_bad_fqme)