forked from pool/python-fixtures
18 lines
565 B
Diff
18 lines
565 B
Diff
|
|
Index: fixtures-4.0.0/fixtures/tests/_fixtures/test_mockpatch.py
|
||
|
|
===================================================================
|
||
|
|
--- fixtures-4.0.0.orig/fixtures/tests/_fixtures/test_mockpatch.py
|
||
|
|
+++ fixtures-4.0.0/fixtures/tests/_fixtures/test_mockpatch.py
|
||
|
|
@@ -13,7 +13,11 @@
|
||
|
|
# under the License.
|
||
|
|
|
||
|
|
|
||
|
|
-import mock # Yes, we only test the rolling backport
|
||
|
|
+try:
|
||
|
|
+ import mock # Yes, we only test the rolling backport
|
||
|
|
+except ImportError:
|
||
|
|
+ import unittest
|
||
|
|
+ raise unittest.SkipTest("mock not available")
|
||
|
|
import testtools
|
||
|
|
|
||
|
|
from fixtures import (
|