Remove pragma no cover from code
Add exclude_lines in the report section of .coveragerc to ignore abstract in test coverage Change-Id: I7863a8ba7e20358fb7cdf3cc7e4d83871a5104ef
This commit is contained in:
@@ -24,5 +24,4 @@ import six
|
||||
class BaseSolutionComparator(object):
|
||||
@abc.abstractmethod
|
||||
def compare(self, sol1, sol2):
|
||||
raise NotImplementedError(
|
||||
"Should have implemented this") # pragma:no cover
|
||||
raise NotImplementedError()
|
||||
|
||||
Reference in New Issue
Block a user