mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-21 12:14:37 +07:00
Due to non-deterministic order of test execution (in particular if CythonParsingTest has been executed before PyOptimizeImportsTest) sometimes PyDocstringTokenSetContributor was registered via EP, but wan't taken into account in the cached static instance of PythonDialectTokenSetProvider. Since reference expressions inside injected fragments have element type DOC_REFERENCE and the latter wasn't part of expression token set, that assertion in PySubscriptionExpression#getOperand failed.