We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6414fe1 commit b55b87dCopy full SHA for b55b87d
tests.py
@@ -352,7 +352,7 @@ class EmptyModel(Model): pass
352
assert one.biz == 'x'
353
assert not hasattr(one, 'bar')
354
355
- @mark.xfail
+ @mark.xfail(raises=AttributeError)
356
def test_replace_column_same_type(self):
357
self.db.run("ALTER TABLE foo ADD COLUMN biz int NOT NULL DEFAULT 0")
358
self.db.run("ALTER TABLE foo DROP COLUMN bar")
0 commit comments