diff options
author | Bharath Vignesh J K <52282402+RazCrimson@users.noreply.github.com> | 2024-05-17 03:28:11 +0530 |
---|---|---|
committer | Bharath Vignesh J K <52282402+RazCrimson@users.noreply.github.com> | 2024-05-17 03:37:24 +0530 |
commit | 28e7e5b74a4b952e500a6bacec234f235a048c89 (patch) | |
tree | efe9cac433df35e491a07c848b4395dc2163431c /unittest-core.py | |
parent | 108ffcdfb637e288479f49ec083f601a1e88f51c (diff) |
chg: ruff - flake8-comprehensions
Diffstat (limited to 'unittest-core.py')
-rwxr-xr-x | unittest-core.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/unittest-core.py b/unittest-core.py index 6626d6a4..bad2dcf9 100755 --- a/unittest-core.py +++ b/unittest-core.py @@ -74,10 +74,8 @@ class TestGlances(unittest.TestCase): self.assertEqual(plugin_instance.get_key(), None) self.assertTrue( all( - [ - f in [h['name'] for h in plugin_instance.items_history_list] - for f in plugin_instance.get_raw_history() - ] + f in [h['name'] for h in plugin_instance.items_history_list] + for f in plugin_instance.get_raw_history() ) ) elif plugin_instance.history_enable() and isinstance(plugin_instance.get_raw(), list): |