coala

bears: Issue #2773: PySafetyBear: Remove use of generic no cover

Your task is to remove a use of generic coverage exception in a coala bear.

Often these exist because the bear writer didnt want to create a fake environment where a dependency was missing or other condition was False. This occurs because the CI enviroment has the required dependencies. Typically the solution is to use unittest.mock to simulate the scenario that needs to be tested.

This is a 'low' difficulty issue in the 'bears' project. Here is the issue:

Issue #2773 PySafetyBear: Remove use of generic no cover

Completion of this task requires a merged Pull Request.

Remember to format your Git Commit Message according to the rules, otherwise the bot will tell you to fix it.

Task tags

  • unittest
  • requirements
  • mock
  • issues

Students who completed this task

seeeturtle

Task type

  • done_all Quality Assurance
close

2018