27d28b8eef
The default encoding for source files is UTF-8 since Python 3, so we can drop all encoding headers. While we are at it, just replace them with SPDX headers.
14 lines
236 B
Python
14 lines
236 B
Python
# SPDX-License-Identifier: MIT
|
|
# Copyright (C) 2019-2020 Tobias Gruetzmacher
|
|
import time
|
|
|
|
import pytest
|
|
|
|
|
|
@pytest.fixture()
|
|
def _nosleep(monkeypatch):
|
|
|
|
def sleep(seconds):
|
|
pass
|
|
|
|
monkeypatch.setattr(time, 'sleep', sleep)
|