From 96c90af1e3e2c6a35a261db5a67bdfc236983a06 Mon Sep 17 00:00:00 2001 From: Markus Unterwaditzer Date: Fri, 29 Apr 2016 19:04:14 +0200 Subject: [PATCH] Add flag about Py2 monkeypatch for tests --- tests/conftest.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/conftest.py b/tests/conftest.py index 0b0774a..fb4b6f2 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -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)