diff options
author | Christian Heimes <christian@cheimes.de> | 2013-07-01 23:00:22 +0200 |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2013-07-01 23:00:22 +0200 |
commit | 9dc893c954b626685fc5bb12a040e22a41a8958d (patch) | |
tree | c42918d40b287e76ae260b4c402ce62ed813087d /Python/traceback.c | |
parent | d71dc179c59f0a6e74087ecea134164f0e184ee8 (diff) | |
parent | 691afb4d9f2a095f89c6e4011807a185fa661bb7 (diff) | |
download | cpython-9dc893c954b626685fc5bb12a040e22a41a8958d.tar.gz |
Issue #18339: use with self.assertRaises() to make test case more readable
Diffstat (limited to 'Python/traceback.c')
-rw-r--r-- | Python/traceback.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/traceback.c b/Python/traceback.c index b928902ef0..c56b23f6cc 100644 --- a/Python/traceback.c +++ b/Python/traceback.c @@ -13,7 +13,7 @@ #define OFF(x) offsetof(PyTracebackObject, x) -#define PUTS(fd, str) write(fd, str, strlen(str)) +#define PUTS(fd, str) write(fd, str, (int)strlen(str)) #define MAX_STRING_LENGTH 500 #define MAX_FRAME_DEPTH 100 #define MAX_NTHREADS 100 |