Skipping tests in Python3
diff --git a/tests/test_discovery.py b/tests/test_discovery.py
index 458e29d..e2677b0 100644
--- a/tests/test_discovery.py
+++ b/tests/test_discovery.py
@@ -568,6 +568,7 @@
q = parse_qs(parsed[4])
self.assertEqual(q['max-results'], ['5'])
+ @unittest.skipIf(six.PY3, 'print is not a reserved name in Python 3')
def test_methods_with_reserved_names(self):
self.http = HttpMock(datafile('zoo.json'), {'status': '200'})
zoo = build('zoo', 'v1', http=self.http)
diff --git a/tests/test_http.py b/tests/test_http.py
index 9da222b..b47b9dc 100644
--- a/tests/test_http.py
+++ b/tests/test_http.py
@@ -23,6 +23,7 @@
__author__ = 'jcgregorio@google.com (Joe Gregorio)'
+from six import PY3
from six import BytesIO, StringIO
from io import FileIO
from six.moves.urllib.parse import urlencode
@@ -228,6 +229,7 @@
except NotImplementedError:
pass
+ @unittest.skipIf(PY3, 'Strings and Bytes are different types')
def test_media_io_base_upload_from_string_io(self):
f = open(datafile('small.png'), 'rb')
fd = StringIO(f.read())