please check this test on Python 3
```
Traceback (most recent call last):
  File "/home/tim/code/django/tests/admin_views/tests.py", line 3735, in test_limit_choices_to_as_callable
    self.assertEqual(response.content.count('threepwood'), 2)
TypeError: expected an object with the buffer interface
```