Skip to content

Commit ed70e11

Browse files
committed
Python: Make test/Filter query more robust
Since if you had tornado installed, we would follow imports and have results from those files as well :|
1 parent 9c275c1 commit ed70e11

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • python/ql/test/library-tests/filters/tests

python/ql/test/library-tests/filters/tests/Filter.ql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@ import python
22
import semmle.python.filters.Tests
33

44
from TestScope t
5+
where exists(t.getLocation().getFile().getRelativePath())
56
select t

0 commit comments

Comments
 (0)