remove componentwise comparison of complex values in TestCase.assertEqual (#63572)
authorPhilip Meier <github.pmeier@posteo.de>
Mon, 30 Aug 2021 19:28:39 +0000 (12:28 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Mon, 30 Aug 2021 19:36:45 +0000 (12:36 -0700)
commit401bbb2aa0a183ddfb309740c020fb4962367ac9
treee68780b35a7f1505d31bb486ee86c844f3e55c86
parenta8ffe81b2c3123926354b4ec2001693b38daa80d
remove componentwise comparison of complex values in TestCase.assertEqual (#63572)

Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/63572

Addresses #61906. Issue will be fixed later in the stack when `torch.testing.assert_close` got the same treatment.

cc ezyang gchanan

Test Plan: Imported from OSS

Reviewed By: ezyang

Differential Revision: D30633527

Pulled By: mruberry

fbshipit-source-id: c2002a4998a7a75cb2ab83f87190bde43a9d4f7c
test/test_tensor_creation_ops.py
test/test_testing.py
test/test_torch.py
test/test_unary_ufuncs.py
torch/testing/_core.py