Skip to content

Commit 246fef1

Browse files
authored
Remove utc fixture
1 parent 441cf1d commit 246fef1

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

tests/conftest.py

-10
Original file line numberDiff line numberDiff line change
@@ -658,16 +658,6 @@ def mock_server() -> Iterator[MockServer]:
658658
yield test_server
659659

660660

661-
@pytest.fixture
662-
def utc() -> Iterator[None]:
663-
# time.tzset() is not implemented on some platforms, e.g. Windows.
664-
tzset = getattr(time, "tzset", lambda: None)
665-
with patch.dict(os.environ, {"TZ": "UTC"}):
666-
tzset()
667-
yield
668-
tzset()
669-
670-
671661
@pytest.fixture
672662
def proxy(request: pytest.FixtureRequest) -> str:
673663
return request.config.getoption("proxy")

0 commit comments

Comments
 (0)