'#21627 -- Executing the changepassword management command should allow
non-ASCII characters from the User object representation.'

@mock.patch.object(changepassword.Command, '_get_pass', return_value='not    qwerty')
def test_that_changepassword_command_works_with_nonascii_output(self, mock_get_pass):

    User.objects.create_user(username='J\xfalia', password='qwerty')
    call_command('changepassword', username='J\xfalia', stdout=self.stdout)
