summaryrefslogtreecommitdiff
path: root/tests/test_exceptions.py
diff options
context:
space:
mode:
authorÁrni Dagur <arni@dagur.eu>2021-06-26 18:52:22 +0000
committerÁrni Dagur <arni@dagur.eu>2021-06-26 19:10:50 +0000
commit822855b20a7864838084a813c457e2eb1f9570d5 (patch)
tree81f7c6745c802514458b9c41a3cd6a2eb4c0a4e9 /tests/test_exceptions.py
parentfb1832feb868a81e2d10a1707c57df4623304313 (diff)
Run black code formatter
Diffstat (limited to 'tests/test_exceptions.py')
-rw-r--r--tests/test_exceptions.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_exceptions.py b/tests/test_exceptions.py
index 497b3ef..becf107 100644
--- a/tests/test_exceptions.py
+++ b/tests/test_exceptions.py
@@ -1,5 +1,6 @@
1import adblock 1import adblock
2 2
3
3def test_correct_baseclasses(): 4def test_correct_baseclasses():
4 assert issubclass(adblock.AdblockException, Exception) 5 assert issubclass(adblock.AdblockException, Exception)
5 assert issubclass(adblock.BlockerException, adblock.AdblockException) 6 assert issubclass(adblock.BlockerException, adblock.AdblockException)
@@ -7,4 +8,4 @@ def test_correct_baseclasses():
7 assert issubclass(adblock.DeserializationError, adblock.BlockerException) 8 assert issubclass(adblock.DeserializationError, adblock.BlockerException)
8 assert issubclass(adblock.OptimizedFilterExistence, adblock.BlockerException) 9 assert issubclass(adblock.OptimizedFilterExistence, adblock.BlockerException)
9 assert issubclass(adblock.BadFilterAddUnsupported, adblock.BlockerException) 10 assert issubclass(adblock.BadFilterAddUnsupported, adblock.BlockerException)
10 assert issubclass(adblock.FilterExists, adblock.BlockerException) \ No newline at end of file 11 assert issubclass(adblock.FilterExists, adblock.BlockerException)