mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-03-25 08:55:50 +00:00
Add flag about Py2 monkeypatch for tests
This commit is contained in:
parent
f007cacdba
commit
96c90af1e3
1 changed files with 1 additions and 0 deletions
|
|
@ -17,6 +17,7 @@ def setup_logging():
|
|||
click_log.basic_config('vdirsyncer').setLevel(logging.DEBUG)
|
||||
|
||||
|
||||
# XXX: Py2
|
||||
@pytest.fixture(autouse=True)
|
||||
def suppress_py2_warning(monkeypatch):
|
||||
monkeypatch.setattr('vdirsyncer.cli._check_python2', lambda _: None)
|
||||
|
|
|
|||
Loading…
Reference in a new issue