File tree 3 files changed +3
-5
lines changed
3 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -2,12 +2,12 @@ fix = true
2
2
extend-exclude = [
3
3
# Excluded (run with the other AC files in its own separate ruff job in pre-commit)
4
4
" test_clinic.py" ,
5
+ # Excluded (these aren't actually executed, they're just "data files")
6
+ " tokenizedata/*.py" ,
5
7
# Failed to lint
6
- " badsyntax_pep3120.py" ,
7
8
" encoded_modules/module_iso_8859_1.py" ,
8
9
" encoded_modules/module_koi8_r.py" ,
9
10
# Failed to parse
10
- " badsyntax_3131.py" ,
11
11
" test_lib2to3/data/bom.py" ,
12
12
" test_lib2to3/data/crlf.py" ,
13
13
" test_lib2to3/data/different_encoding.py" ,
Original file line number Diff line number Diff line change 1
- # This file is marked as binary in the CVS, to prevent MacCVS from recoding it.
2
-
3
1
import unittest
4
2
5
3
class PEP3120Test (unittest .TestCase ):
@@ -16,7 +14,7 @@ def test_pep3120(self):
16
14
17
15
def test_badsyntax (self ):
18
16
try :
19
- import test .badsyntax_pep3120
17
+ import test .tokenizedata . badsyntax_pep3120
20
18
except SyntaxError as msg :
21
19
msg = str (msg ).lower ()
22
20
self .assertTrue ('utf-8' in msg )
File renamed without changes.
You can’t perform that action at this time.
0 commit comments