diff options
author | Ethan Furman <ethan@stoneleaf.us> | 2014-01-12 16:42:35 (GMT) |
---|---|---|
committer | Ethan Furman <ethan@stoneleaf.us> | 2014-01-12 16:42:35 (GMT) |
commit | a70805e1fa592076cc1188a62fbf35b6b863c430 (patch) | |
tree | d64863f91486205838cbce3eb1516317c6d6e552 /Objects/unicodeobject.c | |
parent | 61dab6e3fa2f40454f29dcee9477bc52a049965e (diff) | |
download | cpython-a70805e1fa592076cc1188a62fbf35b6b863c430.zip cpython-a70805e1fa592076cc1188a62fbf35b6b863c430.tar.gz cpython-a70805e1fa592076cc1188a62fbf35b6b863c430.tar.bz2 |
Issue19995: fixed typo; switched from test.support.check_warnings to assertWarns
Diffstat (limited to 'Objects/unicodeobject.c')
-rw-r--r-- | Objects/unicodeobject.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 @@ mainformatlong(PyObject *v, 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 @@ formatchar(PyObject *v) 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) { |