MCPcopy Create free account
hub / github.com/cdgriffith/Box / test_unicode

Method test_unicode

test/test_box.py:1223–1230  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1221 del bx["0"]
1222
1223 def test_unicode(self):
1224 bx = Box()
1225 bx["\U0001f631"] = 4
1226
1227 bx2 = Box(camel_killer_box=True)
1228 bx2["\U0001f631"] = 4
1229
1230 assert bx == bx2 == {"😱": 4}
1231
1232 def test_camel_killer_hashables(self):
1233 bx = Box(camel_killer_box=True)

Callers

nothing calls this directly

Calls 1

BoxClass · 0.90

Tested by

no test coverage detected