Skip to content

Python tests: Increase import depth to ensure sre_constants module is imported.#753

Merged
taus-semmle merged 1 commit into
github:masterfrom
markshannon:python-fix-regex-test-depth
Jan 11, 2019
Merged

Python tests: Increase import depth to ensure sre_constants module is imported.#753
taus-semmle merged 1 commit into
github:masterfrom
markshannon:python-fix-regex-test-depth

Conversation

@markshannon

Copy link
Copy Markdown
Contributor

Required to ensure that sre_constants is imported along the chain test -> re -> sre_compile -> sre_constants. Necessary for stricter enforcement of import depth in the extractor.

@taus-semmle

Copy link
Copy Markdown
Contributor

As the two test failures seem to be unrelated to this change, I'll go ahead with the merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants