Skip to content

Commit a4b01f0

Browse files
committed
fix tests
1 parent f0893b7 commit a4b01f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Objects/exceptions.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2682,7 +2682,7 @@ as_unicode_error_attribute(PyObject *attr, const char *name, int as_bytes)
26822682
}
26832683
if (!(as_bytes ? PyBytes_Check(attr) : PyUnicode_Check(attr))) {
26842684
PyErr_Format(PyExc_TypeError,
2685-
"%.200s attribute must be %s, not %T",
2685+
"%.200s attribute must be %s",
26862686
name, as_bytes ? "bytes" : "unicode");
26872687
return NULL;
26882688
}

0 commit comments

Comments
 (0)