-
-
Notifications
You must be signed in to change notification settings - Fork 56.5k
modules/ts contains Python 3 syntax errors #21122
Copy link
Copy link
Closed
Description
Fixed in #21130
$ flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
./modules/ts/misc/chart.py:119:9: F633 use of >> is invalid with print function
print >> sys.stderr, "Usage:\n", os.path.basename(sys.argv[0]), "<log_name1>.xml"
^
./modules/ts/misc/chart.py:139:9: F633 use of >> is invalid with print function
print >> sys.stderr, "Error - no tests matched"
^
./modules/ts/misc/chart.py:159:17: F633 use of >> is invalid with print function
print >> sys.stderr, "Error - unable to create chart tables for functions having different argument numbers"
^
./modules/ts/misc/chart.py:165:9: F633 use of >> is invalid with print function
print >> sys.stderr, "Error - unable to create tables for functions from different test suits:"
^
./modules/ts/misc/chart.py:168:13: F633 use of >> is invalid with print function
print >> sys.stderr, "%4s: %s" % (i, name)
^
./modules/ts/misc/chart.py:171:13: F633 use of >> is invalid with print function
print >> sys.stderr, "Other suits in this log (can not be chosen):"
^
./modules/ts/misc/chart.py:173:17: F633 use of >> is invalid with print function
print >> sys.stderr, "%4s: %s" % (i, name)
^
./modules/ts/misc/chart.py:178:9: F633 use of >> is invalid with print function
print >> sys.stderr, "Error - tests from %s have less than 2 parameters" % sname
^
./modules/ts/misc/summary.py:29:9: F633 use of >> is invalid with print function
print >> sys.stderr, "Usage:\n", os.path.basename(sys.argv[0]), "<log_name1>.xml [<log_name2>.xml ...]"
^
./modules/ts/misc/report.py:17:9: F633 use of >> is invalid with print function
print >> sys.stderr, "Usage:\n", os.path.basename(sys.argv[0]), "<log_name1>.xml"
^
10 F633 use of >> is invalid with print function
10
Reactions are currently unavailable