mirror of
https://github.com/wassname/optuna-dashboard.git
synced 2026-09-09 11:28:14 +08:00
Replace "assert ...==..." with self.assertEqual
This commit is contained in:
@@ -41,4 +41,4 @@ class FormWidgetsTestCase(TestCase):
|
||||
with self.subTest(f"{widget.__class__}-{i}"):
|
||||
d = cast(Dict[str, Any], widget.to_dict())
|
||||
restored = dict_to_form_widget(d)
|
||||
assert widget == restored
|
||||
self.assertEqual(widget, restored)
|
||||
|
||||
Reference in New Issue
Block a user