Skip to content

Commit aaba512

Browse files
committed
Use warning instead of deprecated warn method
1 parent 3d8e04b commit aaba512

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jupyter_client/provisioning/factory.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ def _get_provisioner(self, name: str) -> EntryPoint:
184184
# instance ourselves - since we have that information.
185185
if name == 'local-provisioner':
186186
distros = glob.glob(f"{path.dirname(path.dirname(__file__))}-*")
187-
self.log.warn(
187+
self.log.warning(
188188
f"Kernel Provisioning: The 'local-provisioner' is not found. This is likely "
189189
f"due to the presence of multiple jupyter_client distributions and a previous "
190190
f"distribution is being used as the source for entrypoints - which does not "

0 commit comments

Comments
 (0)