summaryrefslogtreecommitdiff
path: root/simplejson
diff options
context:
space:
mode:
authorGregory P. Smith <gps@google.com>2021-08-23 12:11:16 -0700
committerGitHub <noreply@github.com>2021-08-23 12:11:16 -0700
commit47d5aa05376670a7eea1f9118fda3c7f8c98c022 (patch)
treeadce445a255df193782f7e6794f31e4836ab4455 /simplejson
parentf53c2459e477fd81d2659bd8b64e1a10dae5e8cd (diff)
downloadsimplejson-47d5aa05376670a7eea1f9118fda3c7f8c98c022.tar.gz
oops, a missing word made it into the commit.
Diffstat (limited to 'simplejson')
-rw-r--r--simplejson/tests/test_namedtuple.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/simplejson/tests/test_namedtuple.py b/simplejson/tests/test_namedtuple.py
index 03e6b14..8035a5f 100644
--- a/simplejson/tests/test_namedtuple.py
+++ b/simplejson/tests/test_namedtuple.py
@@ -145,5 +145,5 @@ class TestNamedTuple(unittest.TestCase):
# potential for internal data corruption. Getting it to crash in
# a debug build is not always easy either as it requires an
# assert(!PyErr_Occurred()) that could fire later on.
- self.assertRaises(TypeError):
+ with self.assertRaises(TypeError):
json.dumps({23: fake}, namedtuple_as_object=True, for_json=False)