Author: Alex Gaynor <alex.gay...@gmail.com> Branch: translation-cleanup Changeset: r57661:055f7aa9f7f2 Date: 2012-09-29 09:05 -0700 http://bitbucket.org/pypy/pypy/changeset/055f7aa9f7f2/
Log: Some style cleanups. diff --git a/pypy/objspace/flow/test/test_objspace.py b/pypy/objspace/flow/test/test_objspace.py --- a/pypy/objspace/flow/test/test_objspace.py +++ b/pypy/objspace/flow/test/test_objspace.py @@ -471,7 +471,7 @@ with py.test.raises(FlowingError) as excinfo: self.codetest(f) assert "modify global" in str(excinfo.value) - assert DATA == {'x':5, 'y':6} + assert DATA == {'x': 5, 'y': 6} #__________________________________________________________ def dictliteral(name): @@ -517,7 +517,7 @@ def f(x): return not ~-x graph = self.codetest(f) - assert self.all_operations(graph) == {'is_true':1, 'invert':1, 'neg':1} + assert self.all_operations(graph) == {'is_true': 1, 'invert': 1, 'neg': 1} #__________________________________________________________ @@ -985,7 +985,7 @@ def test_constfold_exception(self): def f(): - return (3 + 2)/(4 - 2*2) + return (3 + 2) / (4 - 2 * 2) with py.test.raises(FlowingError) as excinfo: self.codetest(f) assert 'div(5, 0)' in str(excinfo.value) _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit