Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(784)

Unified Diff: recipe_engine/third_party/requests/tests/compat.py

Issue 2164713003: Vendor requests. (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/recipes-py@master
Patch Set: Remove unneeded stuff. Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: recipe_engine/third_party/requests/tests/compat.py
diff --git a/recipe_engine/third_party/requests/tests/compat.py b/recipe_engine/third_party/requests/tests/compat.py
deleted file mode 100644
index a26bd9f4cc280ea352882396fb27795759c3a873..0000000000000000000000000000000000000000
--- a/recipe_engine/third_party/requests/tests/compat.py
+++ /dev/null
@@ -1,20 +0,0 @@
-# coding: utf-8
-from requests.compat import is_py3
-
-
-try:
- import StringIO
-except ImportError:
- import io as StringIO
-
-try:
- from cStringIO import StringIO as cStringIO
-except ImportError:
- cStringIO = None
-
-if is_py3:
- def u(s):
- return s
-else:
- def u(s):
- return s.decode('unicode-escape')

Powered by Google App Engine
This is Rietveld 408576698