From ca34007740c361f46ec234f943c8d34a7e7a606c Mon Sep 17 00:00:00 2001 From: Marc Wouts Date: Thu, 28 Jun 2018 00:56:15 +0200 Subject: [PATCH] Skip test if RmdFileContentsManager can't be imported --- tests/test_contentsmanager.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_contentsmanager.py b/tests/test_contentsmanager.py index 045541210..90e793acc 100644 --- a/tests/test_contentsmanager.py +++ b/tests/test_contentsmanager.py @@ -5,6 +5,8 @@ import pytest +@pytest.mark.skipif(isinstance(RmdFileContentsManager, str), + reason=RmdFileContentsManager) def test_create_contentsmanager(): RmdFileContentsManager()