summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémy HUBSCHER <rhubscher@mozilla.com>2017-02-16 18:09:05 +0100
committerRémy HUBSCHER <rhubscher@mozilla.com>2017-02-17 09:56:25 +0100
commit3c04c12d227bd08f248519691418f07070f9c587 (patch)
tree7b98d6f63f13063265ba9b9a01906cfff638b73b
parent0edf02b0452fe461570aec9fac34613e38deaad6 (diff)
downloadpyramid-3c04c12d227bd08f248519691418f07070f9c587.tar.gz
pyramid-3c04c12d227bd08f248519691418f07070f9c587.tar.bz2
pyramid-3c04c12d227bd08f248519691418f07070f9c587.zip
It is actually a good thing that this line is not called.
-rw-r--r--pyramid/tests/test_config/test_settings.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyramid/tests/test_config/test_settings.py b/pyramid/tests/test_config/test_settings.py
index 202629358..a3afd24e7 100644
--- a/pyramid/tests/test_config/test_settings.py
+++ b/pyramid/tests/test_config/test_settings.py
@@ -66,7 +66,7 @@ class TestSettingsConfiguratorMixin(unittest.TestCase):
def test_settings_parameter_dict_is_never_updated(self):
class ReadOnlyDict(dict):
- def __readonly__(self, *args, **kwargs):
+ def __readonly__(self, *args, **kwargs): # pragma: no cover
raise RuntimeError("Cannot modify ReadOnlyDict")
__setitem__ = __readonly__
__delitem__ = __readonly__