We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 50a0d4f + deff54a commit 42b3125Copy full SHA for 42b3125
AUTHORS
@@ -157,6 +157,7 @@ Oleg Sushchenko
157
Oliver Bestwalter
158
Omar Kohl
159
Omer Hadari
160
+Ondřej Súkup
161
Patrick Hayes
162
Paweł Adamczak
163
Pedro Algarvio
testing/test_mark.py
@@ -1,7 +1,11 @@
1
from __future__ import absolute_import, division, print_function
2
import os
3
import sys
4
-import mock
+
5
+try:
6
+ import mock
7
+except ImportError:
8
+ import unittest.mock as mock
9
import pytest
10
from _pytest.mark import (
11
MarkGenerator as Mark,
0 commit comments