changed white-allowlisted (#41796)
Summary:
closes https://github.com/pytorch/pytorch/issues/41749
Pull Request resolved: https://github.com/pytorch/pytorch/pull/41796
Reviewed By: gmagogsfm
Differential Revision: D22718991
Pulled By: SplitInfinity
fbshipit-source-id: 6c2d2b0e3b1e79fd515f9bdd395335a32f525a26
diff --git a/test/test_namedtuple_return_api.py b/test/test_namedtuple_return_api.py
index 515087c..785ae4c 100644
--- a/test/test_namedtuple_return_api.py
+++ b/test/test_namedtuple_return_api.py
@@ -39,7 +39,7 @@
for r in ret:
r = r.strip()
self.assertEqual(len(r.split()), 1,
- 'only whitelisted operators are allowed to have named return type, got ' + name)
+ 'only allowlisted operators are allowed to have named return type, got ' + name)
file.close()
self.assertEqual(all_operators_with_namedtuple_return, operators_found, textwrap.dedent("""
Some elements in the `all_operators_with_namedtuple_return` of test_namedtuple_return_api.py