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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy