Skip to content

Commit

Permalink
Merge pull request #7 from welitonfreitas/master
Browse files Browse the repository at this point in the history
fix dict_keys error
  • Loading branch information
atsb committed Mar 17, 2023
2 parents c31be40 + ee11311 commit 7ca10d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nose/plugins/cover.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ def configure(self, options, conf):
self.coverInstance.exclude('#pragma[: ]+[nN][oO] [cC][oO][vV][eE][rR]')

log.debug("Coverage begin")
self.skipModules = sys.modules.keys()[:]
self.skipModules = list(sys.modules.keys())[:]
if self.coverErase:
log.debug("Clearing previously collected coverage statistics")
self.coverInstance.combine()
Expand Down

0 comments on commit 7ca10d9

Please sign in to comment.