diff options
author | Gregory P. Smith <gps@google.com> | 2021-08-23 12:11:16 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-23 12:11:16 -0700 |
commit | 47d5aa05376670a7eea1f9118fda3c7f8c98c022 (patch) | |
tree | adce445a255df193782f7e6794f31e4836ab4455 /simplejson | |
parent | f53c2459e477fd81d2659bd8b64e1a10dae5e8cd (diff) | |
download | simplejson-47d5aa05376670a7eea1f9118fda3c7f8c98c022.tar.gz |
oops, a missing word made it into the commit.
Diffstat (limited to 'simplejson')
-rw-r--r-- | simplejson/tests/test_namedtuple.py | 2 |
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) |