Skip to content

Commit

Permalink
WIP checking if unittest2 is actually needed
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoddemus committed Jul 9, 2019
1 parent 3173815 commit af31a76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/_pytest/nose.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

def get_skip_exceptions():
skip_classes = set()
for module_name in ("unittest", "unittest2", "nose"):
for module_name in ("unittest", "nose"):
mod = sys.modules.get(module_name)
if hasattr(mod, "SkipTest"):
skip_classes.add(mod.SkipTest)
Expand Down

0 comments on commit af31a76

Please sign in to comment.