We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05b4772 commit 84f24f2Copy full SHA for 84f24f2
test/unit/plugin/test_amdsmi_collector.py
@@ -1,7 +1,7 @@
1
import importlib
2
import sys
3
import types
4
-from typing import Tuple
+from typing import Optional, Tuple
5
6
import pytest
7
@@ -29,7 +29,7 @@ class AmdSmiTimeoutError(_BaseAmdSmiError): ...
29
30
def make_fake_amdsmi(
31
*,
32
- handles: Tuple[object, ...] | None = None,
+ handles: Optional[Tuple[object, ...]] = None,
33
lib_version="1.2.3",
34
rocm_version="6.1.0",
35
pcie_static=True,
0 commit comments