aports/main/py3-sphinxcontrib-websupport/remove-six.patch

26 lines
765 B
Diff

Patch-Source: https://github.com/sphinx-doc/sphinxcontrib-websupport/pull/47
--
From a249f8f962bb4687b780482c6c5a1cc3dc60629f Mon Sep 17 00:00:00 2001
From: Takeshi KOMIYA <i.tkomiya@gmail.com>
Date: Mon, 15 Mar 2021 01:23:16 +0900
Subject: [PATCH] Drop test dependency: six
---
setup.py | 1 -
tests/test_searchadapters.py | 3 ++-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/test_searchadapters.py b/tests/test_searchadapters.py
index 9589633..eb6e19f 100644
--- a/tests/test_searchadapters.py
+++ b/tests/test_searchadapters.py
@@ -9,7 +9,8 @@
:license: BSD, see LICENSE for details.
"""
-from six import StringIO
+from io import StringIO
+
import pytest
from sphinxcontrib.websupport import WebSupport