From: Hong Minhee Date: Fri, 12 Apr 2013 19:34:20 +0000 (+0900) Subject: Make print statements to look like function calls X-Git-Tag: rel_0_6_0~22^2~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=37e6c62be85bdca0429571dd7f9d4ede54b085ee;p=thirdparty%2Fsqlalchemy%2Falembic.git Make print statements to look like function calls --- diff --git a/tests/__init__.py b/tests/__init__.py index f7bcdcdd..b0edf75f 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -147,7 +147,7 @@ def assert_raises_message(except_cls, msg, callable_, *args, **kwargs): assert False, "Callable did not raise an exception" except except_cls as e: assert re.search(msg, str(e)), "%r !~ %s" % (msg, e) - print str(e) + print(str(e)) def op_fixture(dialect='default', as_sql=False): impl = _impls[dialect]