forked from pool/python-loguru
		
	Accepting request 938254 from home:bnavigator:python-rpm-macros
- Skip two formatting tests -- gh#Delgan/loguru#550 OBS-URL: https://build.opensuse.org/request/show/938254 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-loguru?expand=0&rev=14
This commit is contained in:
		
				
					committed by
					
						 Git OBS Bridge
						Git OBS Bridge
					
				
			
			
				
	
			
			
			
						parent
						
							53a87b62f2
						
					
				
				
					commit
					4a059b5745
				
			| @@ -1,3 +1,8 @@ | ||||
| ------------------------------------------------------------------- | ||||
| Thu Dec  9 18:04:19 UTC 2021 - Ben Greiner <code@bnavigator.de> | ||||
|  | ||||
| - Skip two formatting tests -- gh#Delgan/loguru#550  | ||||
|  | ||||
| ------------------------------------------------------------------- | ||||
| Sun Apr 18 12:17:42 UTC 2021 - Ben Greiner <code@bnavigator.de> | ||||
|  | ||||
|   | ||||
| @@ -62,13 +62,16 @@ which dispatches log messages to configured handlers. | ||||
| export LANG=en_US.UTF-8 | ||||
| if [ $(getconf LONG_BIT) = 32 ]; then | ||||
|   # Threads have different references on 32-bit | ||||
|   donttest="(test_log_formatters and thread and not thread.name)" | ||||
|   donttest=" or (test_log_formatters and thread and not thread.name)" | ||||
| fi | ||||
| %pytest ${donttest:+ -k "not ($donttest)"} | ||||
| # different line numbers -- https://github.com/Delgan/loguru/issues/550 | ||||
| python310_donttest=" or (test_exceptions_formatting and formatting_with_context_manager)" | ||||
| %pytest -k "not (donttestexprprefixdummy $donttest ${$python_donttest})" | ||||
|  | ||||
| %files %{python_files} | ||||
| %license LICENSE | ||||
| %doc README.rst | ||||
| %{python_sitelib}/loguru* | ||||
| %{python_sitelib}/loguru | ||||
| %{python_sitelib}/loguru-%{version}*-info | ||||
|  | ||||
| %changelog | ||||
|   | ||||
		Reference in New Issue
	
	Block a user