

def test_follow_next_level(self):
    with self.assertNumQueries(1):
        u = User.objects.select_related('userstat__results').get(username='test')
        self.assertEqual(self.userstat.posts, 150)
        self.assertEqual(u.userstat.results.results, 'first results')

dataset/ETHPy150Open django/django/tests/select_related_onetoone/tests.py ReverseSelectRelatedTestCase.test_follow_next_level/VarMisuse@42/59 `u`->`self`