BUG: Don't use deprecated attribute of exception.

This commit is contained in:
Scott Sanderson
2016-02-16 13:43:25 -05:00
parent 4bc42d5658
commit d889f8b08b
+1 -1
View File
@@ -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'"
)
)