def test_class_in_docstr():
 a = '"\nclasses\n"'
 jedi.Script(a, 1, 0)._get_module()
 b = (a + '\nimport os')
 assert jedi.Script(b, 4, 8).goto_assignments()

def test_class_in_docstr ( ) : a = '"\nclasses\n"' jedi . Script ( a , 1 , 0 ) . _get_module ( ) b = ( a + '\nimport os' ) assert jedi . Script ( b , 4 , 8 ) . goto_assignments ( )
regression test for a problem with classes in docstrings .