Skip to content

Commit

Permalink
more Python 3.7 fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
lqc committed Oct 17, 2024
1 parent 5156197 commit 19f2b63
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_runtime.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# pylint: disable=missing-function-docstring,missing-module-docstring
import os
from pathlib import Path
from typing import Type
from unittest.mock import patch

import pytest
Expand Down Expand Up @@ -36,7 +37,7 @@ def container_runtime_envvar(request):
def test_runtime_selection(
# pylint: disable-next=redefined-outer-name,unused-argument
container_runtime_envvar: None,
runtime_class: type[OciRuntimeBase],
runtime_class: Type[OciRuntimeBase],
):
assert isinstance(get_selected_runtime(), runtime_class)

Expand Down

0 comments on commit 19f2b63

Please sign in to comment.