浏览代码

Fix syntax for Legacy Python

Thomas Kluyver 9 年之前
父节点
当前提交
b1fb4ecbed
共有 1 个文件被更改,包括 1 次插入1 次删除
  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():