File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -386,7 +386,6 @@ def test_types(self):
386
386
self ._assert_values ([
387
387
b'spam' ,
388
388
9999 ,
389
- self .cid ,
390
389
])
391
390
392
391
def test_bytes (self ):
@@ -1213,6 +1212,18 @@ def test_equality(self):
1213
1212
self .assertFalse (cid1 != cid2 )
1214
1213
self .assertTrue (cid1 != cid3 )
1215
1214
1215
+ def test_shareable (self ):
1216
+ chan = interpreters .channel_create ()
1217
+
1218
+ obj = interpreters .channel_create ()
1219
+ interpreters .channel_send (chan , obj )
1220
+ got = interpreters .channel_recv (chan )
1221
+
1222
+ self .assertEqual (got , obj )
1223
+ self .assertIs (type (got ), type (obj ))
1224
+ # XXX Check the following in the channel tests?
1225
+ #self.assertIsNot(got, obj)
1226
+
1216
1227
1217
1228
class ChannelTests (TestBase ):
1218
1229
You can’t perform that action at this time.
0 commit comments