mirror of
https://github.com/wassname/catalyst.git
synced 2026-08-18 11:50:11 +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)
|
int_column = Column(dtype=int64_dtype, missing_value=3)
|
||||||
|
|
||||||
self.assertTrue(
|
self.assertTrue(
|
||||||
str(e.exception.message).startswith(
|
str(e.exception.args[0]).startswith(
|
||||||
"Failed to create Column with name 'bad_column'"
|
"Failed to create Column with name 'bad_column'"
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user