diff options
author | Seth Michael Larson <sethmichaellarson@gmail.com> | 2019-07-04 12:47:10 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-04 12:47:10 -0500 |
commit | 2c055b4a60affa3529660b928fff375fde3993f7 (patch) | |
tree | ddc5444c264bbb5975c9bfe176ae1dcd5da79b4e | |
parent | 19ff80fcd085a6a60a55ca0c526a9977ec8014e3 (diff) | |
download | urllib3-2c055b4a60affa3529660b928fff375fde3993f7.tar.gz |
Also skip dotted FQDN tests on TRAVIS_INFRA=unknown (#1648)
-rw-r--r-- | test/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/__init__.py b/test/__init__.py index ebaec6f5..31720c59 100644 --- a/test/__init__.py +++ b/test/__init__.py @@ -186,7 +186,7 @@ def fails_on_travis_gce(test): @functools.wraps(test) def wrapper(*args, **kwargs): - if os.environ.get("TRAVIS_INFRA") == "gce": + if os.environ.get("TRAVIS_INFRA") in ("gce", "unknown"): pytest.xfail("%s is expected to fail on Travis GCE builds" % test.__name__) return test(*args, **kwargs) |