mirror of
https://github.com/inventree/InvenTree.git
synced 2026-11-10 02:47:49 +00:00
ignore in coverage
This commit is contained in:
1 file changed
+1
-1
@@ -143,7 +143,7 @@ class FilteredSerializers(InvenTreeAPITestCase):
|
||||
|
||||
def sample(self, obj):
|
||||
"""Sample method field."""
|
||||
return 'sample'
|
||||
return 'sample' # pragma: no cover
|
||||
|
||||
with self.assertRaises(Exception) as cm:
|
||||
_ = BadSerializer()
|
||||
|
||||
Reference in new issue
Block a user