Skip to content

Commit

Permalink
CI
Browse files Browse the repository at this point in the history
  • Loading branch information
hbcarlos committed Jul 27, 2023
1 parent 90810d6 commit a881bb5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/utils.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Copyright (c) Jupyter Development Team.
# Distributed under the terms of the Modified BSD License.

from __future__ import annotations

from datetime import datetime
from typing import Any, Dict, List

Expand All @@ -16,7 +18,7 @@ def get_path(self, id: str) -> str:


class FakeContentsManager:
def __init__(self, model: Dict[str, str]):
def __init__(self, model: dict[str, str]):
self.model = {
"name": "",
"path": "",
Expand All @@ -30,7 +32,7 @@ def __init__(self, model: Dict[str, str]):
}
self.model.update(model)

self.actions: List[str] = []
self.actions: list[str] = []

def get(
self, path: str, content: bool = True, format: str | None = None, type: str | None = None
Expand Down

0 comments on commit a881bb5

Please sign in to comment.