summaryrefslogtreecommitdiff
path: root/test/regrtest_data
diff options
context:
space:
mode:
authorEmile Anclin <emile.anclin@logilab.fr>2010-11-09 12:43:34 +0100
committerEmile Anclin <emile.anclin@logilab.fr>2010-11-09 12:43:34 +0100
commite5bacfe010320fea281f2afeff2e511c06bfde2f (patch)
tree46c38d2bce6577f40df6770f5db97ef2879f81ce /test/regrtest_data
parent5dde56c810b075d027ec3fb9526334b341566b5e (diff)
downloadpylint-e5bacfe010320fea281f2afeff2e511c06bfde2f.tar.gz
test: add a test for encoding crash
Diffstat (limited to 'test/regrtest_data')
-rw-r--r--test/regrtest_data/no_stdout_encoding.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/regrtest_data/no_stdout_encoding.py b/test/regrtest_data/no_stdout_encoding.py
new file mode 100644
index 0000000..002d19b
--- /dev/null
+++ b/test/regrtest_data/no_stdout_encoding.py
@@ -0,0 +1,5 @@
+#-*-coding:iso-8859-1-*-
+class test:
+ def __init__ (self, dir):
+ testString = u"répertoire :\n%s !"%dir
+