Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(974)

Unified Diff: MoinMoin/_tests/__init__.py

Issue 9162045: MoinMoin/_tests ported to python3.3 with backward compatibility still python3.2 is an issue
Patch Set: Created 10 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | MoinMoin/_tests/ldap_testbase.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: MoinMoin/_tests/__init__.py
===================================================================
--- a/MoinMoin/_tests/__init__.py
+++ b/MoinMoin/_tests/__init__.py
@@ -9,7 +9,10 @@
import socket
-from StringIO import StringIO
+try:
+ from StringIO import StringIO
+except ImportError:
+ from io import StringIO
from flask import g as flaskg
« no previous file with comments | « no previous file | MoinMoin/_tests/ldap_testbase.py » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b