Patch-Source: https://github.com/sissaschool/xmlschema/issues/412 diff --git a/tests/validators/test_schemas.py b/tests/validators/test_schemas.py index 5d23b86f9..72510e6be 100644 --- a/tests/validators/test_schemas.py +++ b/tests/validators/test_schemas.py @@ -702,7 +702,7 @@ class TestXMLSchema10(XsdValidatorTestCase): with self.assertRaises((pickle.PicklingError, AttributeError)) as ec: pickle.dumps(schema) - self.assertIn("Can't pickle", str(ec.exception)) + self.assertIn("Can't get local object", str(ec.exception)) def test_meta_schema_validation(self): self.assertTrue(self.schema_class.meta_schema.is_valid(self.vh_xsd_file))