1 new commit in pytest:

https://bitbucket.org/hpk42/pytest/commits/d8958acde81e/
Changeset:   d8958acde81e
Branch:      fix_initial_parsing
User:        hpk42
Date:        2014-07-28 13:56:10
Summary:     add a comment for why we only consider .py files when removing @
Affected #:  1 file

diff -r ae861e335daf21dc2a0480fa540467264016e4cb -r 
d8958acde81ea1bddbcb8a6fa45f61462e40b788 testing/test_parseopt.py
--- a/testing/test_parseopt.py
+++ b/testing/test_parseopt.py
@@ -151,11 +151,13 @@
                              '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):

Repository URL: https://bitbucket.org/hpk42/pytest/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
_______________________________________________
pytest-commit mailing list
pytest-commit@python.org
https://mail.python.org/mailman/listinfo/pytest-commit

Reply via email to