Skip to content

Commit

Permalink
changed white-allowlisted (pytorch#41796)
Browse files Browse the repository at this point in the history
Summary:
closes pytorch#41749

Pull Request resolved: pytorch#41796

Reviewed By: gmagogsfm

Differential Revision: D22718991

Pulled By: SplitInfinity

fbshipit-source-id: 6c2d2b0e3b1e79fd515f9bdd395335a32f525a26
  • Loading branch information
agniutkarsh authored and facebook-github-bot committed Jul 27, 2020
1 parent cb9c204 commit d198fb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_namedtuple_return_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def test_native_functions_yaml(self):
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
Expand Down

0 comments on commit d198fb3

Please sign in to comment.