Content-Length: 257355 | pFad | https://www.github.com/googleapis/python-logging/commit/c6eb60179d674dfd5137d90d209094c9369b3581

0F4 fix: replace unsafe six.PY3 with PY2 for better future compatibility … · googleapis/python-logging@c6eb601 · GitHub
Skip to content

Commit c6eb601

Browse files
hugovkplamut
authored andcommitted
fix: replace unsafe six.PY3 with PY2 for better future compatibility with Python 4 (#10081)
* fix: fix for Python 4: replace unsafe six.PY3 with PY2 * Fix wording
1 parent 4aedea8 commit c6eb601

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unit/handlers/test__helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def get(self):
7777
self.response.out.write(json.dumps(trace_id))
7878

7979

80-
@unittest.skipIf(six.PY3, "webapp2 is Python 2 only")
80+
@unittest.skipIf(not six.PY2, "webapp2 is Python 2 only")
8181
class Test_get_trace_id_from_webapp2(unittest.TestCase):
8282
@staticmethod
8383
def create_app():

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://www.github.com/googleapis/python-logging/commit/c6eb60179d674dfd5137d90d209094c9369b3581

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy