File no-six.patch of Package python-pytest-docker-pexpect
diff -ru pytest-docker-pexpect-0.9/pytest_docker_pexpect/plugin.py pytest-docker-pexpect-0.9.new/pytest_docker_pexpect/plugin.py
--- pytest-docker-pexpect-0.9/pytest_docker_pexpect/plugin.py 2019-01-15 00:32:19.000000000 +0100
+++ pytest-docker-pexpect-0.9.new/pytest_docker_pexpect/plugin.py 2024-02-29 14:10:02.243781717 +0100
@@ -1,6 +1,5 @@
from functools import partial
import os
-import six
import pytest
import pexpect
from . import docker, bare
@@ -23,7 +22,7 @@
def spawnu(run_without_docker):
"""Returns `spawnu` function depending on current mode."""
spawnu_fn = bare.spawnu if run_without_docker else docker.spawnu
- cwd = os.getcwdu() if six.PY2 else os.getcwd()
+ cwd = os.getcwd()
return partial(spawnu_fn, cwd)
diff -ru pytest-docker-pexpect-0.9/pytest_docker_pexpect.egg-info/requires.txt pytest-docker-pexpect-0.9.new/pytest_docker_pexpect.egg-info/requires.txt
--- pytest-docker-pexpect-0.9/pytest_docker_pexpect.egg-info/requires.txt 2019-01-15 00:34:21.000000000 +0100
+++ pytest-docker-pexpect-0.9.new/pytest_docker_pexpect.egg-info/requires.txt 2024-02-29 14:10:10.700423969 +0100
@@ -1,3 +1,2 @@
pexpect
pytest
-six
diff -ru pytest-docker-pexpect-0.9/setup.py pytest-docker-pexpect-0.9.new/setup.py
--- pytest-docker-pexpect-0.9/setup.py 2019-01-15 00:32:25.000000000 +0100
+++ pytest-docker-pexpect-0.9.new/setup.py 2024-02-29 14:10:22.297057143 +0100
@@ -12,6 +12,6 @@
packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
include_package_data=True,
zip_safe=False,
- install_requires=['pexpect', 'pytest', 'six'],
+ install_requires=['pexpect', 'pytest'],
entry_points={'pytest11': [
'docker_pexpect = pytest_docker_pexpect.plugin']})