From 749f488d904c9feb6c943c5dd9b2cb5bbbb4bbc7 Mon Sep 17 00:00:00 2001 From: Sean Breckenridge Date: Mon, 25 Apr 2022 19:07:02 -0700 Subject: [PATCH] update tz/via_location tests --- tests/tz.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/tz.py b/tests/tz.py index cb8c513..0ea2b40 100644 --- a/tests/tz.py +++ b/tests/tz.py @@ -1,6 +1,5 @@ from datetime import datetime, timedelta, date, timezone from pathlib import Path -import sys import pytest # type: ignore import pytz # type: ignore @@ -80,7 +79,7 @@ def prepare(tmp_path: Path): from .common import reset_modules reset_modules() - LTZ._FASTER = True + LTZ.config.fast = True from .location import _prepare_google_config google = _prepare_google_config(tmp_path) @@ -98,7 +97,8 @@ def prepare(tmp_path: Path): class time: class tz: - pass # just rely on the default.. + class via_location: + pass # just rely on the defaults... import my.core.cfg as C with C.tmp_config() as config: