gh-121604: fix ResourceLoader deprecation warning message (GH-128859)
This commit is contained in:
parent
5eee2fe2b0
commit
d05140f9f7
@ -74,7 +74,7 @@ class ResourceLoader(Loader):
|
|||||||
import warnings
|
import warnings
|
||||||
warnings.warn('importlib.abc.ResourceLoader is deprecated in '
|
warnings.warn('importlib.abc.ResourceLoader is deprecated in '
|
||||||
'favour of supporting resource loading through '
|
'favour of supporting resource loading through '
|
||||||
'importlib.resources.abc.ResourceReader.',
|
'importlib.resources.abc.TraversableResources.',
|
||||||
DeprecationWarning, stacklevel=2)
|
DeprecationWarning, stacklevel=2)
|
||||||
super().__init__()
|
super().__init__()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user