mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-07-08 08:40:55 +00:00
Update tests python to work with Python 3.12
Tested running with Python 3.12, 3.11, 3.10, 3.6.8
This commit is contained in:
@@ -3,5 +3,5 @@ import pkgutil
|
||||
__all__ = []
|
||||
for loader, module_name, is_pkg in pkgutil.walk_packages(__path__):
|
||||
__all__.append(module_name)
|
||||
module = loader.find_module(module_name).load_module(module_name)
|
||||
module = loader.find_spec(module_name).loader.load_module(module_name)
|
||||
globals()[module_name] = module
|
||||
|
||||
Reference in New Issue
Block a user