diff options
author | Matěj Cepl <mcepl@cepl.eu> | 2024-03-30 22:16:37 +0100 |
---|---|---|
committer | Matěj Cepl <mcepl@cepl.eu> | 2024-03-30 22:16:37 +0100 |
commit | 6669d427f87ec62a86a680a542d2f87f2d65cc80 (patch) | |
tree | 80e08e1830eb6283fffa2d3db600ad00090d1970 /libbe/storage/base.py | |
parent | bc53c496220b283773f65762d4283c8f1e480131 (diff) | |
download | bugseverywhere-6669d427f87ec62a86a680a542d2f87f2d65cc80.tar.gz |
Used PyCharms inspectors.
Diffstat (limited to 'libbe/storage/base.py')
-rw-r--r-- | libbe/storage/base.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/libbe/storage/base.py b/libbe/storage/base.py index 09e176b..3ee056d 100644 --- a/libbe/storage/base.py +++ b/libbe/storage/base.py @@ -569,6 +569,7 @@ class VersionedStorage (Storage): if TESTING: + # noinspection PyBroadException class StorageTestCase (unittest.TestCase): """Test cases for Storage class.""" @@ -1131,11 +1132,11 @@ if TESTING: storage_testcase_classes = [ c for c in ( ob for ob in list(globals().values()) if isinstance(ob, type)) - if ((issubclass(c, StorageTestCase) \ - and c.Class == Storage) + if ((issubclass(c, StorageTestCase) + and c.Class == Storage) or - (issubclass(c, VersionedStorageTestCase) \ - and c.Class == VersionedStorage))] + (issubclass(c, VersionedStorageTestCase) + and c.Class == VersionedStorage))] for base_class in storage_testcase_classes: testcase_class_name = storage_class.__name__ + base_class.__name__ |