Skip to content

Commit

Permalink
TestHelper: __skip_module -> __check_module_skip
Browse files Browse the repository at this point in the history
  • Loading branch information
Udayan12167 authored and sils committed Mar 12, 2015
1 parent e3e4505 commit 8f3e3ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions coalib/tests/TestHelper.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def __execute_python3_file(self, filename, ignored_files):
filename])

@staticmethod
def __skip_module(filename):
def __check_module_skip(filename):
module_dir = os.path.dirname(filename)
if module_dir not in sys.path:
sys.path.insert(0, module_dir)
Expand All @@ -152,7 +152,7 @@ def __execute_test(self, filename, curr_nr, max_nr, ignored_files):
:param ignored_files: Files to ignore for coverage
"""
basename = os.path.splitext(os.path.basename(filename))[0]
reason = self.__skip_module(filename)
reason = self.__check_module_skip(filename)
if reason is not False:
print(" {:>2}/{:<2} | {}, Skipping: {}".format(curr_nr,
max_nr,
Expand Down

1 comment on commit 8f3e3ec

@Udayan12167
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ack.

Please sign in to comment.