Skip to content

Commit

Permalink
Issue pyinstaller#1976: Add coding marker to test file reproduce Synt…
Browse files Browse the repository at this point in the history
…axError

SyntaxError: encoding declaration in Unicode string
  • Loading branch information
codewarrior0 committed May 10, 2016
1 parent 8dd1c9d commit 584d9b9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/functional/scripts/pyi_arbitrary_ext.foo
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Verify that PyInstaller can load a script from a file with an arbitrary
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Verify that PyInstaller can load a script from a file with an arbitrary
# extension, not just from ``.py`` files.
print('hello')

0 comments on commit 584d9b9

Please sign in to comment.