add a comment for why we only consider .py files when removing @
--HG-- branch : fix_initial_parsing
This commit is contained in:
parent
83e0b52294
commit
0d17dc1e19
|
@ -151,11 +151,13 @@ class TestParser:
|
|||
'path.py@123',
|
||||
'hello/path.py@123',
|
||||
])
|
||||
# we only remove "@NUM" syntax for .py files which are currently
|
||||
# the only ones which can produce it.
|
||||
assert getattr(args, parseopt.FILE_OR_DIR) == [
|
||||
'path.txt@2::item',
|
||||
'path2.py::func2[param with .py@123]',
|
||||
'path.py',
|
||||
'hello/path.py',
|
||||
'path.txt@2::item',
|
||||
'path2.py::func2[param with .py@123]',
|
||||
'path.py',
|
||||
'hello/path.py',
|
||||
]
|
||||
|
||||
def test_parse_defaultgetter(self):
|
||||
|
|
Loading…
Reference in New Issue