From b6fe1a3021e2af80cae93ea036d4856416e2bfe6 Mon Sep 17 00:00:00 2001 From: Eric Yu Date: Thu, 1 Aug 2024 09:02:38 -0700 Subject: [PATCH] Update conftest.py --- tests/conftest.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/conftest.py b/tests/conftest.py index efe6672..4501df6 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -7,7 +7,7 @@ import os import pathlib import shutil import typing -from typing import Optional +from typing import Optional, Union import jinja2 import pydantic @@ -86,7 +86,7 @@ bullet_entry_dictionary = { @pytest.fixture -def publication_entry() -> dict[str, str | list[str]]: +def publication_entry() -> dict[str, Union[str, list[str]]]: """Return a sample publication entry.""" return copy.deepcopy(publication_entry_dictionary)