From 1a6b196b75d91114b7266e18f5f0154a988c47f5 Mon Sep 17 00:00:00 2001 From: Mads Jensen Date: Wed, 21 Feb 2018 12:20:55 +0100 Subject: [PATCH] Replaced third-party mock with unittest.mock --- setup.py | 1 - tests/core/test_markdown.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/setup.py b/setup.py index e86c6396..f738807d 100755 --- a/setup.py +++ b/setup.py @@ -36,7 +36,6 @@ install_requirements = [ test_requirements = [ 'django-functest>=1.0.2,<1.1', - 'mock>=2.0,<2.1', 'pytest>=3.4,<3.5', 'pytest-django>=3.1,<3.2', 'pytest-cov>=2.4,<2.5', diff --git a/tests/core/test_markdown.py b/tests/core/test_markdown.py index 1f8f4f22..e980c738 100644 --- a/tests/core/test_markdown.py +++ b/tests/core/test_markdown.py @@ -1,6 +1,6 @@ import markdown from django.test import TestCase -from mock import patch +from unittest.mock import patch from wiki.core.markdown import ArticleMarkdown from wiki.core.markdown.mdx.codehilite import WikiCodeHiliteExtension from wiki.core.markdown.mdx.responsivetable import ResponsiveTableExtension -- 2.45.2