Skip to content

Commit

Permalink
remove unused warning test
Browse files Browse the repository at this point in the history
  • Loading branch information
kyleclo committed Jul 21, 2023
1 parent bcbe198 commit ce52f34
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions tests/test_types/test_annotation.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"""

import unittest

from papermage.types import Annotation


Expand All @@ -24,14 +25,10 @@ def test_abstract_methods(self):
a = DummyAnnotation()

to_json = a.to_json()
from_json = a.from_json(annotation_json={'doesnt_matter': 'whats_here'})
from_json = a.from_json(annotation_json={"doesnt_matter": "whats_here"})
self.assertIsNone(to_json)
self.assertIsNone(from_json)

def test_create_warning(self):
with self.assertLogs():
a = Annotation()

def test_doc(self):
d = DummyDoc()
a = Annotation()
Expand Down

0 comments on commit ce52f34

Please sign in to comment.