Issue19995: fixed typo; switched from test.support.check_warnings to assertWarns
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c
index c8370bd..1ce10cf 100644
--- a/Objects/unicodeobject.c
+++ b/Objects/unicodeobject.c
@@ -14005,7 +14005,7 @@
goto wrongtype;
/* make sure number is a type of integer */
- /* if not, issue depracation warning for now */
+ /* if not, issue deprecation warning for now */
if (!PyLong_Check(v)) {
if (type == 'o' || type == 'x' || type == 'X') {
iobj = PyNumber_Index(v);
@@ -14103,7 +14103,7 @@
PyObject *iobj;
long x;
/* make sure number is a type of integer */
- /* if not, issue depracation warning for now */
+ /* if not, issue deprecation warning for now */
if (!PyLong_Check(v)) {
iobj = PyNumber_Index(v);
if (iobj == NULL) {