Skip to content

Commit 99aee0c

Browse files
committed
(fix) Fixed pre-commit issues
1 parent a114ab2 commit 99aee0c

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

tests/test_composer_deprecation_warnings.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,8 +227,11 @@ def test_composer_v1_msg_vote_deprecation_warning(self):
227227

228228
def test_composer_v1_constructor_deprecation_warning(self):
229229
with warnings.catch_warnings(record=True) as all_warnings:
230-
composer = ComposerV1(network=Network.devnet().string())
230+
ComposerV1(network=Network.devnet().string())
231231

232232
deprecation_warnings = [warning for warning in all_warnings if issubclass(warning.category, DeprecationWarning)]
233233
assert len(deprecation_warnings) == 1
234-
assert str(deprecation_warnings[0].message) == "Composer from pyinjective.composer is deprecated. Please use Composer from pyinjective.composer_v2 instead."
234+
assert str(deprecation_warnings[0].message) == (
235+
"Composer from pyinjective.composer is deprecated. "
236+
+ "Please use Composer from pyinjective.composer_v2 instead."
237+
)

0 commit comments

Comments
 (0)