summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2012-04-21 12:52:49 +0100
committerLars Wirzenius <liw@liw.fi>2012-04-21 12:52:49 +0100
commit0a53d9ab222426ac34cc641c442c2e362e01f48d (patch)
treee1205ac39e58b68880d7be20f9b880f2cdeac654
parent5af10303ae925a1f13e08576558ad603b9f4ac1a (diff)
downloadlarch-0a53d9ab222426ac34cc641c442c2e362e01f48d.tar.gz
Mark exception outside of coverage
-rw-r--r--larch/journal.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/larch/journal.py b/larch/journal.py
index fc3062f..5afb810 100644
--- a/larch/journal.py
+++ b/larch/journal.py
@@ -20,7 +20,7 @@ import os
import tracing
-class ReadOnlyMode(Exception):
+class ReadOnlyMode(Exception): # pragma: no cover
def __str__(self):
return 'Larch B-tree is in read-only mode, no changes allowed'