From 1783bcd1cbe1e72759edec4355c6db0fafc7ef9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Ma=C5=9Blanka?= <piotr.maslanka@henrietta.com.pl> Date: Mon, 10 May 2021 17:11:13 +0200 Subject: [PATCH] fix a test --- tests/test_cassandra.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_cassandra.py b/tests/test_cassandra.py index 4efd0596..608eef34 100644 --- a/tests/test_cassandra.py +++ b/tests/test_cassandra.py @@ -27,7 +27,7 @@ class TestCassandra(unittest.TestCase): mcf = MockCassandraFuture() wrapped = wrap_future(mcf) - self.assertRaises(TypeError, lambda: wrap_future(wrapped)) + self.assertEqual(id(wrapped), id(wrap_future(wrapped))) a = {} def on_done(fut): -- GitLab