fix some linting issues for failing PR (#1745)

This commit is contained in:
Jonathan Wren 2023-05-20 16:03:46 -07:00 committed by GitHub
parent 959e18ad91
commit 4cb5d1e436
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -157,7 +157,7 @@ def config_var_on_disk(config_on_disk, journal_name, it_should, some_yaml):
actual_slice = actual
if type(actual) is dict:
# `expected` objects formatted in yaml only compare one level deep
actual_slice = {key: actual.get(key, None) for key in expected.keys()}
actual_slice = {key: actual.get(key) for key in expected.keys()}
assert (expected == actual_slice) == it_should