Skip to content

Commit 5b6675a

Browse files
committed
Python: Select location first in tornado Classes test
so it conforms with the general scheme in tests
1 parent e7eaf2b commit 5b6675a

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
| class DeepInheritance | test.py:23 |
2-
| class Handler1 | test.py:4 |
3-
| class Handler2 | test.py:8 |
4-
| class Handler3 | test.py:14 |
1+
| test.py:4 | class Handler1 |
2+
| test.py:8 | class Handler2 |
3+
| test.py:14 | class Handler3 |
4+
| test.py:23 | class DeepInheritance |

python/ql/test/library-tests/web/tornado/Classes.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ import semmle.python.TestUtils
66
import semmle.python.web.tornado.Tornado
77
from ClassValue cls
88
where cls = aTornadoRequestHandlerClass()
9-
select cls.toString(), remove_library_prefix(cls.getScope().getLocation())
9+
select remove_library_prefix(cls.getScope().getLocation()), cls.toString()

0 commit comments

Comments
 (0)