Mercurial > hg
comparison tests/fsmonitor-run-tests.py @ 51700:7f0cb9ee0534
Backout accidental publication of a large range of revisions
I accidentally published 25e7f9dcad0f::bd1483fd7088, this is the inverse.
author | Raphaël Gomès <rgomes@octobus.net> |
---|---|
date | Tue, 23 Jul 2024 10:02:46 +0200 |
parents | 493034cc3265 |
children | ca7bde5dbafb |
comparison
equal
deleted
inserted
replaced
51699:bd1483fd7088 | 51700:7f0cb9ee0534 |
---|---|
27 if sys.version_info > (3, 5, 0): | 27 if sys.version_info > (3, 5, 0): |
28 PYTHON3 = True | 28 PYTHON3 = True |
29 | 29 |
30 def _sys2bytes(p): | 30 def _sys2bytes(p): |
31 return p.encode('utf-8') | 31 return p.encode('utf-8') |
32 | |
32 | 33 |
33 elif sys.version_info >= (3, 0, 0): | 34 elif sys.version_info >= (3, 0, 0): |
34 print( | 35 print( |
35 '%s is only supported on Python 3.5+ and 2.7, not %s' | 36 '%s is only supported on Python 3.5+ and 2.7, not %s' |
36 % (sys.argv[0], '.'.join(str(v) for v in sys.version_info[:3])) | 37 % (sys.argv[0], '.'.join(str(v) for v in sys.version_info[:3])) |