Explorar o código

Fix syntax for Legacy Python

Thomas Kluyver %!s(int64=9) %!d(string=hai) anos
pai
achega
b1fb4ecbed
Modificáronse 1 ficheiros con 1 adicións e 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():