Fix: Windows DLL path lookup with Python >= 3.8
[babeltrace.git] / tests / utils / python / utils.py
CommitLineData
e8f4ebf5
SM
1# SPDX-License-Identifier: MIT
2#
3# Copyright (c) 2023 EfficiOS, Inc.
4
5# The purpose of this import is to make the typing module easily accessible
6# elsewhere, without having to do the try-except everywhere.
7try:
8 import typing as typing_mod # noqa: F401
9except ImportError:
10 import local_typing as typing_mod # noqa: F401
This page took 0.023359 seconds and 4 git commands to generate.