Explorar el Código

Fix syntax for Legacy Python

Thomas Kluyver hace 9 años
padre
commit
b1fb4ecbed
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      nsist/tests/test_commands.py

+ 1 - 1
nsist/tests/test_commands.py

@@ -8,7 +8,7 @@ from nsist import commands, _rewrite_shebangs
 
 cmds = {'acommand': {
                 'entry_point': 'somemod:somefunc',
-                'extra_preamble': io.StringIO('import extra')
+                'extra_preamble': io.StringIO(u'import extra')
            }}
 
 def test_prepare_bin_dir():