forked from pool/python-mohawk
Accepting request 964932 from devel:languages:python
- Extend remove-nose.patch: Use unittest.mock instead of python-mock (https://trello.com/c/S6eADbii/64-remove-python-mock) OBS-URL: https://build.opensuse.org/request/show/964932 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-mohawk?expand=0&rev=7
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 24 13:27:46 UTC 2022 - pgajdos@suse.com
|
||||
|
||||
- Extend remove-nose.patch: Use unittest.mock instead of
|
||||
python-mock (https://trello.com/c/S6eADbii/64-remove-python-mock)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 23 06:11:30 UTC 2021 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-mohawk
|
||||
#
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
|
||||
@@ -1,12 +1,14 @@
|
||||
Index: mohawk-1.1.0/mohawk/tests.py
|
||||
===================================================================
|
||||
--- mohawk-1.1.0.orig/mohawk/tests.py
|
||||
+++ mohawk-1.1.0/mohawk/tests.py
|
||||
@@ -4,7 +4,6 @@ from unittest import TestCase
|
||||
--- mohawk-1.1.0.orig/mohawk/tests.py 2019-10-28 15:45:53.000000000 +0100
|
||||
+++ mohawk-1.1.0/mohawk/tests.py 2022-03-24 14:26:38.698018107 +0100
|
||||
@@ -3,8 +3,7 @@ import warnings
|
||||
from unittest import TestCase
|
||||
from base64 import b64decode, urlsafe_b64encode
|
||||
|
||||
import mock
|
||||
-import mock
|
||||
-from nose.tools import eq_, raises
|
||||
+import unittest.mock as mock
|
||||
import six
|
||||
|
||||
from . import Receiver, Sender
|
||||
|
||||
Reference in New Issue
Block a user