Skip to content

Commit 7b4e890

Browse files
RasmusWLtausbn
andauthored
Python: Fix grammar
Co-authored-by: Taus <[email protected]>
1 parent 7e407d4 commit 7b4e890

File tree

1 file changed

+2
-2
lines changed
  • python/ql/test/library-tests/PointsTo/regressions/wrong/module-imports/conflict-stdlib

1 file changed

+2
-2
lines changed

python/ql/test/library-tests/PointsTo/regressions/wrong/module-imports/conflict-stdlib/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
This test shows how we handle modules the shadow a module in the standard library.
1+
This test shows how we handle modules that shadow a module in the standard library.
22

3-
We manually replicate the behavior of `codeql database create --source-root <src-dir>`, which will use `-R <src-dir>`. By default, the way qltest invokes the extractor will cause different behavior. Therefore, we also need to move our code outside of the top-level folder, and it lives in `code-invalid-package-name/` -- notice that if we use `code` as the folder name, the extractor will treat it as if there is a package called `code` (note, `codeql database create` would not the folder `code` as a package when `code` is used as the `--source-root`).
3+
We manually replicate the behavior of `codeql database create --source-root <src-dir>`, which will use `-R <src-dir>`. By default, the way qltest invokes the extractor will cause different behavior. Therefore, we also need to move our code outside of the top-level folder, and it lives in `code-invalid-package-name/` -- notice that if we use `code` as the folder name, the extractor will treat it as if there is a package called `code` (note, `codeql database create` would not treat the folder `code` as a package when `code` is used as the `--source-root`).
44

55
The results from `LocalModules.ql`, where everything is a script, matches with the extractor :+1:
66

0 commit comments

Comments
 (0)