Source

SCons / test / subclassing.py

Diff from to

test/subclassing.py

 env.Command('f0.out', 'f0.in', copy_action)
 
 try:
-    from io import UserString
+    from collections import UserString
 except ImportError:
-    from UserString import UserString
+    exec('from UserString import UserString')
 try:
     class mystr(str):
         pass