(self)
| 620 | |
| 621 | @unittest.expectedFailure # TODO: RUSTPYTHON |
| 622 | def testIntern(self): |
| 623 | s = marshal.loads(marshal.dumps(self.strobj)) |
| 624 | self.assertEqual(s, self.strobj) |
| 625 | self.assertEqual(id(s), id(self.strobj)) |
| 626 | s2 = sys.intern(s) |
| 627 | self.assertEqual(id(s2), id(s)) |
| 628 | |
| 629 | def testNoIntern(self): |
| 630 | s = marshal.loads(marshal.dumps(self.strobj, 2)) |
nothing calls this directly
no test coverage detected