Skip to content

Conversation

marceldevroed
Copy link

Adding test case and fix for index out of range issue

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Description

  • ModuleLoaderRegistry now safely derives key/version when module_address lacks “:”.
  • Eliminates IndexError from rsplit on module_address (no colon), which caused “Unable to load module in module_finder … list index out of range” warnings

Fixes #7314

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added tests that prove my feature, policy, or fix is effective and works
  • New and existing tests pass locally with my changes

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.

Unable to load module list index out of range

1 participant