Skip to content

Commit

Permalink
Handle typing limitations on Python 3.9
Browse files Browse the repository at this point in the history
  • Loading branch information
lbianchi-lbl committed Nov 21, 2024
1 parent 163d2c5 commit 12da7a3
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/idaes_flowsheet_processor/_testing/plugins.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
from __future__ import annotations # allows using A | B for Python < 3.10
import importlib
from collections.abc import Iterable
from collections.abc import Mapping
from importlib.metadata import entry_points
from importlib.metadata import EntryPoint
from pathlib import Path
from types import ModuleType
from typing import TypeAlias

try:
from typing import TypeAlias
except ImportError:
TypeAlias = type

import pytest

Expand Down

0 comments on commit 12da7a3

Please sign in to comment.