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,6 +151,8 @@ class TestParser:
|
||||||
'path.py@123',
|
'path.py@123',
|
||||||
'hello/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) == [
|
assert getattr(args, parseopt.FILE_OR_DIR) == [
|
||||||
'path.txt@2::item',
|
'path.txt@2::item',
|
||||||
'path2.py::func2[param with .py@123]',
|
'path2.py::func2[param with .py@123]',
|
||||||
|
|
Loading…
Reference in New Issue