mirror of
https://github.com/wassname/catalyst.git
synced 2026-06-28 17:16:55 +08:00
BUG: Don't use deprecated attribute of exception.
This commit is contained in:
@@ -369,7 +369,7 @@ class ObjectIdentityTestCase(TestCase):
|
||||
int_column = Column(dtype=int64_dtype, missing_value=3)
|
||||
|
||||
self.assertTrue(
|
||||
str(e.exception.message).startswith(
|
||||
str(e.exception.args[0]).startswith(
|
||||
"Failed to create Column with name 'bad_column'"
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user