def test_notimplemented(self):
        baseqs = SimpleRelated.objects.language('en')
        
        self.assertRaises(NotImplementedError, baseqs.defer, 'shared_field')
        self.assertRaises(NotImplementedError, baseqs.only)
        self.assertRaises(NotImplementedError, baseqs.bulk_create, [])
        # select_related with no field is not implemented
        self.assertRaises(NotImplementedError, baseqs.select_related)
        if django.VERSION >= (1, 7):
            self.assertRaises(NotImplementedError, baseqs.update_or_create)
dataset/ETHPy150Open KristianOellegaard/django-hvad/hvad/tests/query.py/NotImplementedTests.test_notimplemented/original