-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Closed
Labels
Description
Repro:
- check out 8cd9dbe
python3 misc/incremental_checker.py --seed dDWZNp2XFrtdXl9vWPH8 --sample 40 --daemon -r $PWD commit 5d86e142
(When using in dmypy3 branch, add--last 40
.)
Test output:
Assuming mypy is located at /Users/jukka/src/review-mypy
Temp repo will be cloned at /Users/jukka/src/review-mypy/tmp_repo
Testing file/dir located at /Users/jukka/src/review-mypy/tmp_repo/mypy
Using cache data located at /Users/jukka/src/review-mypy/.incremental_checker_cache.json
Cloning repo /Users/jukka/src/review-mypy to /Users/jukka/src/review-mypy/tmp_repo
Fetching last 40 commits (or all, if there are fewer commits than n)
Fetching commits starting at 5d86e142
Sampled down to 40 commits using random seed dDWZNp2XFrtdXl9vWPH8
...
Starting daemon
Note: first commit is evaluated twice to warm up cache
Now testing commit 9d10fcda: "Fix test failures caused by merging of #4059 (#4138)"
Output matches expected result!
Incremental: 12.147 sec
Original: 13.906 sec
Now testing commit 9d10fcda: "Fix test failures caused by merging of #4059 (#4138)"
Output matches expected result!
Incremental: 0.347 sec
Original: 13.906 sec
Now testing commit a1ace484: "Make stubgen return status 0 on --help (#4160)"
Output matches expected result!
Incremental: 12.525 sec
Original: 14.196 sec
Now testing commit 3e49ef9b: "Allow subscripted aliases at function scope (#4000)"
Output does not match expected result!
Expected output (14.380 sec):
Actual output: (11.295 sec):
mypy/semanal_pass3.py:42: error: Name 'mypy.semanal.SemanticAnalyzerPass2' is not defined
mypy/semanal_pass3.py:375: error: "Options" has no attribute "disallow_any_generics"
Now testing commit 880bf848: "Fix recent crashes in forward refs (#4120)"
Output matches expected result!
Incremental: 11.135 sec
Original: 14.020 sec
...
(and more errors later down the run).