Bug 244640 - run_benchmark.py:84: SyntaxWarning: "is not" with a literal. Did you mean "!="?
Summary: run_benchmark.py:84: SyntaxWarning: "is not" with a literal. Did you mean "!="?
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: David Kilzer (:ddkilzer)
URL:
Keywords: InRadar
Depends on: 239313
Blocks:
  Show dependency treegraph
 
Reported: 2022-08-31 16:41 PDT by David Kilzer (:ddkilzer)
Modified: 2022-08-31 21:07 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Kilzer (:ddkilzer) 2022-08-31 16:41:17 PDT
Checking imports ...Tools/Scripts/webkitpy/benchmark_runner/run_benchmark.py:84: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if args.generate_profiles and args.platform is not 'osx':
Comment 1 Radar WebKit Bug Importer 2022-08-31 16:43:22 PDT
<rdar://problem/99410243>
Comment 2 David Kilzer (:ddkilzer) 2022-08-31 16:43:53 PDT
Seen when running `Tools/Scripts/test-webkitpy`.
Comment 3 David Kilzer (:ddkilzer) 2022-08-31 16:45:18 PDT
Pull request: https://github.com/WebKit/WebKit/pull/3885
Comment 4 David Kilzer (:ddkilzer) 2022-08-31 16:49:12 PDT
Regressed commit b820e2b4bab7 for Bug 239313.
Comment 5 EWS 2022-08-31 21:07:15 PDT
Committed 254028@main (df1637717d1d): <https://commits.webkit.org/254028@main>

Reviewed commits have been landed. Closing PR #3885 and removing active labels.