summaryrefslogtreecommitdiff
path: root/_pytest/main.py
diff options
context:
space:
mode:
authorschlamar <marc.schlaich@gmail.com>2014-03-14 14:04:54 +0100
committerschlamar <marc.schlaich@gmail.com>2014-03-14 14:04:54 +0100
commit94b1ce65c636d59511d1f6d457cc39459c6d4856 (patch)
tree5df29cc14e89bab6c87f370566135ae22556365f /_pytest/main.py
parentf5b992f68a9e6ac889fa03be3fc4ec3a2d64db72 (diff)
downloadpytest-94b1ce65c636d59511d1f6d457cc39459c6d4856.tar.gz
Fixed race condition with SkipTest when module not in sys.modules on collection.
Diffstat (limited to '_pytest/main.py')
-rw-r--r--_pytest/main.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/_pytest/main.py b/_pytest/main.py
index f7060bf6f..23a5430f0 100644
--- a/_pytest/main.py
+++ b/_pytest/main.py
@@ -408,10 +408,6 @@ class Collector(Node):
and thus iteratively build a tree.
"""
- # the set of exceptions to interpret as "Skip the whole module" during
- # collection
- skip_exceptions = (Skipped,)
-
class CollectError(Exception):
""" an error during collection, contains a custom message. """