summaryrefslogtreecommitdiff
path: root/testing/test_config.py
diff options
context:
space:
mode:
authorBruno Oliveira <nicoddemus@gmail.com>2019-05-27 20:31:52 -0300
committerBruno Oliveira <nicoddemus@gmail.com>2019-06-02 14:39:11 -0300
commit4d49ba65297102110ae8aeecdb3b82b23a231fba (patch)
tree10a917331db131a6728775ff7d462732ff1f9466 /testing/test_config.py
parent733f43b02eafe2934c2e86b7d0370e25dfe95a48 (diff)
downloadpytest-4d49ba65297102110ae8aeecdb3b82b23a231fba.tar.gz
Drop Python 2.7 and 3.4 support
* Update setup.py requires and classifiers * Drop Python 2.7 and 3.4 from CI * Update docs dropping 2.7 and 3.4 support * Fix mock imports and remove tests related to pypi's mock module * Add py27 and 34 support docs to the sidebar * Remove usage of six from tmpdir * Remove six.PY* code blocks * Remove sys.version_info related code * Cleanup compat * Remove obsolete safe_str * Remove obsolete __unicode__ methods * Remove compat.PY35 and compat.PY36: not really needed anymore * Remove unused UNICODE_TYPES * Remove Jython specific code * Remove some Python 2 references from docs Related to #5275
Diffstat (limited to 'testing/test_config.py')
-rw-r--r--testing/test_config.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/testing/test_config.py b/testing/test_config.py
index e588c262a..2cda7f40b 100644
--- a/testing/test_config.py
+++ b/testing/test_config.py
@@ -218,12 +218,9 @@ class TestConfigAPI(object):
assert config.getoption(x) == "this"
pytest.raises(ValueError, config.getoption, "qweqwe")
- @pytest.mark.skipif("sys.version_info[0] < 3")
def test_config_getoption_unicode(self, testdir):
testdir.makeconftest(
"""
- from __future__ import unicode_literals
-
def pytest_addoption(parser):
parser.addoption('--hello', type=str)
"""