Remove nonrequired conditions

This commit is contained in:
usamasadiq
2021-02-01 16:30:47 +05:00
parent 842c8cfa80
commit dbfec8ee3c
3 changed files with 1 additions and 85 deletions

View File

@@ -158,13 +158,3 @@ def normalize_repr(func):
between worker processes.
"""
return reprwrapper(func)
# Decorator for skipping tests that are not ready to be run with Python 3.x.
# While we expect many tests to fail with Python 3.x as we transition, this
# is specifically for tests that rely on external or large scale fixes. It can
# be added to individual tests or test classes.
py2_only = pytest.mark.skipif(
sys.version_info > (3, 0),
reason="This test can only be run with Python 2.7, currently"
)