Branch: refs/heads/master Author: Jiří Techet techet@gmail.com Committer: Jiří Techet techet@gmail.com Date: Mon, 14 Mar 2022 19:27:55 UTC Commit: 72f0b6e8ec400f54047d48aa292a7172fb683c6d https://github.com/geany/geany/commit/72f0b6e8ec400f54047d48aa292a7172fb683c...
Log Message: ----------- Update python unit tests
The main change is the import change discussed in previous commit. The rest is just a better parsing of the new parser.
Modified Paths: -------------- tests/ctags/cython_sample2.pyx.tags tests/ctags/py_constructor_arglist.py.tags tests/ctags/simple.py.tags tests/ctags/tabindent.py.tags
Modified: tests/ctags/cython_sample2.pyx.tags 2 lines changed, 1 insertions(+), 1 deletions(-) =================================================================== @@ -1,3 +1,3 @@ # format=tagmanager my_fun�16�(np.ndarray[dtype=double, ndim=1] x)�0 -np�32768�0 +numpy�32768�0
Modified: tests/ctags/py_constructor_arglist.py.tags 33 lines changed, 21 insertions(+), 12 deletions(-) =================================================================== @@ -1,16 +1,25 @@ # format=tagmanager -HttpResponse�32768�0 -HttpResponseBadRequest�32768�0 -InterfaceDataValidationError�32768�0 -RequestContext�32768�0 +HttpResponse�32768�django.http�0 +HttpResponseBadRequest�32768�django.http�0 +InterfaceDataValidationError�32768�vnstat.api.error�0 +RequestContext�32768�django.template.context�0 SomeClass�1�0 __init__�128�(self, filename, pathsep='', treegap=64)�SomeClass�0 -btopen�32768�0 -csrf_exempt�32768�0 -csrf_exempt2�32768�0 -login_required�32768�0 -permission_required�32768�0 -render_to_response�32768�0 -require_POST�32768�0 -simplejson�32768�0 +bsddb�32768�0 +btopen�32768�bsddb�0 +csrf_exempt�32768�django.views.decorators.csrf�0 +csrf_exempt2�32768�django.views.decorators.csrf�0 +django.contrib.auth.decorators�32768�0 +django.http�32768�0 +django.shortcuts�32768�0 +django.template.context�32768�0 +django.utils�32768�0 +django.views.decorators.csrf�32768�0 +django.views.decorators.http�32768�0 +login_required�32768�django.contrib.auth.decorators�0 +permission_required�32768�django.contrib.auth.decorators�0 +render_to_response�32768�django.shortcuts�0 +require_POST�32768�django.views.decorators.http�0 +simplejson�32768�django.utils�0 sys�32768�0 +vnstat.api.error�32768�0
Modified: tests/ctags/simple.py.tags 6 lines changed, 4 insertions(+), 2 deletions(-) =================================================================== @@ -7,11 +7,13 @@ TREEID VERSION�16384�0 __init__�128�(self, filename, pathsep='', treegap=64)�one�0 __private_function__�128�(self, key, data)�one�0 +_pack�128�(self, i, s)�one�0 _test�16�(test, code, outcome, exception)�0 -btopen�32768�0 +bsddb�32768�0 +btopen�32768�bsddb�0 deeply_nested�1�_test.ignored_function.more_nesting�0 even_more�128�()�_test.ignored_function.more_nesting.deeply_nested�0 -foo�16�(�0 +foo�16�( x , y, z)�0 ignored_function�16�()�_test�0 more_nesting�16�()�_test.ignored_function�0 one�1�0
Modified: tests/ctags/tabindent.py.tags 2 lines changed, 1 insertions(+), 1 deletions(-) =================================================================== @@ -1,2 +1,2 @@ # format=tagmanager -find_heading�16�(self, position=0, direction=Direction.FORWARD, heading=Heading, connect_with_document=True)�0 +find_heading�16�(self, position=0, direction=Direction.FORWARD, heading=Heading, connect_with_document=True)�0
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).