Fix bug in self.assertExpectedInline (#55149)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/55149
I was wondering why no one used this function. It's because it
doesn't work! Also a small doc improvement for expected inline.
Signed-off-by: Edward Z. Yang <ezyang@fb.com>
Test Plan: Imported from OSS
Reviewed By: zhangguanheng66
Differential Revision: D27523880
Pulled By: ezyang
fbshipit-source-id: a1d80c088ebf1c58a2b9b13d28f7f23d08c42e60