'If a SELECT...FOR UPDATE NOWAIT is run on a database backend
that supports FOR UPDATE but not NOWAIT, then we should find
that a DatabaseError is raised.'

@skipIfDBFeature('has_select_for_update_nowait')
@skipUnlessDBFeature('has_select_for_update')
@unittest.skipIf((sys.version_info[:3] == (2, 6, 1)), 'Python    version    is    2.6.1')
def test_unsupported_nowait_raises_error(self):

    self.assertRaises(DatabaseError, list, Person.objects.all().select_for_update(nowait=True))
