diff options
author | Colin Deasy <cdeasy@demonware.net> | 2014-05-20 20:46:28 +0100 |
---|---|---|
committer | Colin Deasy <cdeasy@demonware.net> | 2014-05-20 20:46:28 +0100 |
commit | 3f1f90c1f0684c6f99de4076e47e9a771b0c7d79 (patch) | |
tree | 83b3c4ddec794d7e5028d1eea41b3d719731b212 /simplejson/tests | |
parent | 426849c9134e203903a00595f345013327068aaa (diff) | |
download | simplejson-3f1f90c1f0684c6f99de4076e47e9a771b0c7d79.tar.gz |
Allocate int_as_string bounds once per encoder
Diffstat (limited to 'simplejson/tests')
-rw-r--r-- | simplejson/tests/test_speedups.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/simplejson/tests/test_speedups.py b/simplejson/tests/test_speedups.py index df9637f..0a2b63b 100644 --- a/simplejson/tests/test_speedups.py +++ b/simplejson/tests/test_speedups.py @@ -1,3 +1,4 @@ +import sys import unittest from unittest import TestCase @@ -14,7 +15,7 @@ def skip_if_speedups_missing(func): if hasattr(unittest, 'SkipTest'): raise unittest.SkipTest("C Extension not available") else: - print "C Extension not available" + sys.stdout.write("C Extension not available") return return func(*args, **kwargs) |