summaryrefslogtreecommitdiff
path: root/tests/regrtest_data
diff options
context:
space:
mode:
authorDani Alcala <112832187+clavedeluna@users.noreply.github.com>2022-10-23 14:16:34 -0300
committerGitHub <noreply@github.com>2022-10-23 19:16:34 +0200
commit096f6d7650d6feb1f723642cf35300dc12bcd6aa (patch)
tree599ff53749c296044af1d8827519c04febb6e766 /tests/regrtest_data
parent38fa17418d18517f0b2950ca50c565ceabf83c3b (diff)
downloadpylint-git-096f6d7650d6feb1f723642cf35300dc12bcd6aa.tar.gz
Fix astroid-error for parsing module encoding (#7663)
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
Diffstat (limited to 'tests/regrtest_data')
-rw-r--r--tests/regrtest_data/encoding/bad_missing_num.py1
-rw-r--r--tests/regrtest_data/encoding/bad_wrong_num.py1
-rw-r--r--tests/regrtest_data/encoding/good.py1
3 files changed, 3 insertions, 0 deletions
diff --git a/tests/regrtest_data/encoding/bad_missing_num.py b/tests/regrtest_data/encoding/bad_missing_num.py
new file mode 100644
index 000000000..a43139838
--- /dev/null
+++ b/tests/regrtest_data/encoding/bad_missing_num.py
@@ -0,0 +1 @@
+# -*- encoding: utf -*-
diff --git a/tests/regrtest_data/encoding/bad_wrong_num.py b/tests/regrtest_data/encoding/bad_wrong_num.py
new file mode 100644
index 000000000..5c6bfe786
--- /dev/null
+++ b/tests/regrtest_data/encoding/bad_wrong_num.py
@@ -0,0 +1 @@
+# -*- encoding: utf-9 -*-
diff --git a/tests/regrtest_data/encoding/good.py b/tests/regrtest_data/encoding/good.py
new file mode 100644
index 000000000..dae354a67
--- /dev/null
+++ b/tests/regrtest_data/encoding/good.py
@@ -0,0 +1 @@
+# -*- encoding: utf-8 -*-