Skip to content

Commit

Permalink
chore: fix python lint
Browse files Browse the repository at this point in the history
  • Loading branch information
dudong2 committed Jan 23, 2024
1 parent d654db4 commit 3a770ab
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tests/integration_tests/test_pruned_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,8 @@ def test_pruned_node(pruned):
)
assert "error" in pruned_res
assert (
re.match(
r"rpc error: code = Unknown desc = codespace sdk code 18: invalid request: failed to load state at height \d+; version mismatch on immutable IAVL tree; version does not exist. Version has either been pruned, or is for a future block height \(latest height: \d+\)",
pruned_res["error"]["message"],
)
"Version has either been pruned, or is for a future block height" in

Check failure on line 82 in tests/integration_tests/test_pruned_node.py

View workflow job for this annotation

GitHub Actions / Run flake8 on python integration tests

./tests/integration_tests/test_pruned_node.py:82:77: W291 trailing whitespace
pruned_res["error"]["message"]
)

with pytest.raises(Exception):
Expand Down

0 comments on commit 3a770ab

Please sign in to comment.