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