(self)
| 353 | self.assertTrue(cid1 != cid3) |
| 354 | |
| 355 | def test_shareable(self): |
| 356 | chan = _channels.create(REPLACE) |
| 357 | |
| 358 | obj = _channels.create(REPLACE) |
| 359 | _channels.send(chan, obj, blocking=False) |
| 360 | got = recv_nowait(chan) |
| 361 | |
| 362 | self.assertEqual(got, obj) |
| 363 | self.assertIs(type(got), type(obj)) |
| 364 | # XXX Check the following in the channel tests? |
| 365 | #self.assertIsNot(got, obj) |
| 366 | |
| 367 | |
| 368 | class ChannelTests(TestBase): |
nothing calls this directly
no test coverage detected