diff --git a/tests/testcases/rabbit/asyn/rabbit_asynchronous_tests.py b/tests/testcases/rabbit/asyn/rabbit_asynchronous_tests.py
index <HASH>..<HASH> 100644
--- a/tests/testcases/rabbit/asyn/rabbit_asynchronous_tests.py
+++ b/tests/testcases/rabbit/asyn/rabbit_asynchronous_tests.py
@@ -239,8 +239,7 @@ class RabbitAsynConnectorTestCase(unittest.TestCase):
 
         # Check that the four messages were NOT put into the queue:
         queue = testrabbit._AsynchronousRabbitConnector__unpublished_messages_queue
-        with self.assertRaises(Queue.Empty):
-            queue.get(False)
+        self.assertTrue(queue.empty())
 
     def test_send_message_user_closed(self):
 
@@ -268,8 +267,7 @@ class RabbitAsynConnectorTestCase(unittest.TestCase):
 
         # Check that the four messages were NOT put into the queue:
         queue = testrabbit._AsynchronousRabbitConnector__unpublished_messages_queue
-        with self.assertRaises(Queue.Empty):
-            queue.get(False)
+        self.assertTrue(queue.empty())
 
 
     #
Change tests to check if queue is empty