##// END OF EJS Templates
contrib: require Python 3.6 for byteify-strings.py...
Gregory Szorc -
r43696:bb509f39 stable
parent child Browse files
Show More
@@ -339,7 +339,7 def main():
339
339
340
340
341 if __name__ == '__main__':
341 if __name__ == '__main__':
342 if sys.version_info.major < 3:
342 if sys.version_info[0:2] < (3, 6):
343 print('This script must be run under Python 3.')
343 print('This script must be run under Python 3.6+')
344 sys.exit(3)
344 sys.exit(3)
345 main()
345 main()
@@ -1,4 +1,4
1 #require py3
1 #require py36
2
2
3 $ byteify_strings () {
3 $ byteify_strings () {
4 > $PYTHON "$TESTDIR/../contrib/byteify-strings.py" "$@"
4 > $PYTHON "$TESTDIR/../contrib/byteify-strings.py" "$@"
General Comments 0
You need to be logged in to leave comments. Login now