mailr18754 - /trunk/test_suite/unit_tests/package_checking.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on March 11, 2013 - 11:22:
Author: bugman
Date: Mon Mar 11 11:22:14 2013
New Revision: 18754

URL: http://svn.gna.org/viewcvs/relax?rev=18754&view=rev
Log:
Fix for the package __all__ list checking unit tests - *.pyc files are now 
skipped.


Modified:
    trunk/test_suite/unit_tests/package_checking.py

Modified: trunk/test_suite/unit_tests/package_checking.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/test_suite/unit_tests/package_checking.py?rev=18754&r1=18753&r2=18754&view=diff
==============================================================================
--- trunk/test_suite/unit_tests/package_checking.py (original)
+++ trunk/test_suite/unit_tests/package_checking.py Mon Mar 11 11:22:14 2013
@@ -49,6 +49,10 @@
             if search("^\.", file):
                 continue
 
+            # Skip byte-compiled files.
+            if search("pyc$", file):
+                continue
+
             # Skip blacklisted files.
             if hasattr(self, 'blacklist') and file in self.blacklist:
                 continue




Related Messages


Powered by MHonArc, Updated Mon Mar 11 11:40:03 2013