Skip to content

Commit

Permalink
test_inspect_cli: Decode exception with default (utf-8) codec
Browse files Browse the repository at this point in the history
Fixes #7337.
  • Loading branch information
gmarkall committed Aug 27, 2021
1 parent e031b70 commit dcdde27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion numba/tests/test_help.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,4 +89,4 @@ def test_inspect_cli(self):
with self.assertRaises(subprocess.CalledProcessError) as raises:
subprocess.check_output(cmds, stderr=subprocess.STDOUT)
self.assertIn("\'foo\' is not supported",
raises.exception.stdout.decode('ascii'))
raises.exception.stdout.decode())

0 comments on commit dcdde27

Please sign in to comment.