Skip to content
Permalink
Browse files
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
  • Loading branch information
hugovk authored and plamut committed Jan 15, 2020
1 parent 4aedea8 commit c6eb60179d674dfd5137d90d209094c9369b3581
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/unit/handlers/test__helpers.py
@@ -77,7 +77,7 @@ def get(self):
self.response.out.write(json.dumps(trace_id))


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

0 comments on commit c6eb601

Please sign in to comment.