add comparison test with non-null stream
@@ -13,9 +13,11 @@ class TestStream(unittest.TestCase):
null0 = cuda.Stream.null
null1 = cuda.Stream(True)
null2 = cuda.Stream(True)
+ null3 = cuda.Stream()
self.assertEqual(null0, null1)
self.assertEqual(null1, null2)
+ self.assertNotEqual(null2, null3)
@attr.gpu
def test_del(self):
