summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin Pradet <quentin.pradet@gmail.com>2019-10-30 17:30:14 +0400
committerSeth Michael Larson <sethmichaellarson@gmail.com>2019-11-04 13:01:49 -0600
commit26528f7200986957d01f5b1a8f2c5c844536a059 (patch)
tree34eb1a6c7c86ac1d97eca6d76208db2361ca4dbd
parentefe8230d0cb21e7916e7b9fbb7d1e3cd419f9cbc (diff)
downloadurllib3-26528f7200986957d01f5b1a8f2c5c844536a059.tar.gz
Use decorators to mark tests as xfail in PyPy2
This was not possibly until now because of functool.wraps for older Pythons.
-rw-r--r--test/with_dummyserver/test_socketlevel.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/with_dummyserver/test_socketlevel.py b/test/with_dummyserver/test_socketlevel.py
index 362fb656..6b9362ca 100644
--- a/test/with_dummyserver/test_socketlevel.py
+++ b/test/with_dummyserver/test_socketlevel.py
@@ -50,6 +50,7 @@ from test import (
requires_ssl_context_keyfile_password,
SHORT_TIMEOUT,
LONG_TIMEOUT,
+ notPyPy2,
)
# Retry failed tests