Changes in tests/pybin/test_run.py [64cf022:41af19c]
- File:
-
- 1 edited
-
tests/pybin/test_run.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tests/pybin/test_run.py
r64cf022 r41af19c 40 40 return os.path.normpath( os.path.join(settings.BUILDDIR, self.path, self.name) ) 41 41 42 @ staticmethod43 def valid_name( name):42 @classmethod 43 def valid_name(_, name): 44 44 return not name.endswith( ('.c', '.cc', '.cpp', '.cfa') ) 45 45 46 @ staticmethod47 def new_target( target, arch):46 @classmethod 47 def new_target(_, target, arch): 48 48 test = Test() 49 49 test.name = os.path.basename(target) … … 72 72 return text 73 73 74 @ staticmethod75 def fmtDur( duration ):74 @classmethod 75 def fmtDur( cls, duration ): 76 76 if duration : 77 77 hours, rem = divmod(duration, 3600)
Note:
See TracChangeset
for help on using the changeset viewer.