Browse Source

Fix syntax for Legacy Python

Thomas Kluyver 9 years ago
parent
commit
b1fb4ecbed
1 changed files with 1 additions and 1 deletions
  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():