Skip to content

Commit

Permalink
[inductor] Fix xpasses being impossible (pytorch#106631)
Browse files Browse the repository at this point in the history
This test raises an error inside the test when an xfailed test succeeds, but
is also decorated with the xfail decorator which converts the error to an xfail.
Instead, this lets the test function pass normally and lets the xfail decorator
raise "Unexpected success".

I also updated the COLLECT_EXPECT code and run it to get the updated set of
failures.

Pull Request resolved: pytorch#106631
Approved by: https://github.com/lezcano
ghstack dependencies: pytorch#106319, pytorch#106400
  • Loading branch information
peterbell10 authored and Cyril-Anto committed Aug 17, 2023
1 parent beef4bb commit c10a3fe
Showing 1 changed file with 136 additions and 165 deletions.

0 comments on commit c10a3fe

Please sign in to comment.