diff --git a/elpy/tests/test_ropebackend.py b/elpy/tests/test_ropebackend.py
index <HASH>..<HASH> 100644
--- a/elpy/tests/test_ropebackend.py
+++ b/elpy/tests/test_ropebackend.py
@@ -325,8 +325,12 @@ class TestGetDocstring(RopeBackendTestCase):
                                                    filename,
                                                    source,
                                                    offset)
-        self.assertEqual(docstring,
-                         'Thread.join(self, timeout=None):\n\n')
+
+        def first_line(s):
+            return s[:s.index("\n")]
+
+        self.assertEqual(first_line(docstring),
+                         'Thread.join(self, timeout=None):')
 
     def test_should_return_none_for_bad_identifier(self):
         source, offset = source_and_offset(
rope backend: Fix a test failing on <I>

Apparently, rope now can find more info on Thread.join, but only
in py <I>, not <I>. Ok?