Hello community,

here is the log from the commit of package python-sure for openSUSE:Factory 
checked in at 2017-11-11 14:17:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-sure (Old)
 and      /work/SRC/openSUSE:Factory/.python-sure.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-sure"

Sat Nov 11 14:17:34 2017 rev:4 rq:539576 version:1.4.7

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-sure/python-sure.changes  2017-05-24 
16:51:03.832670916 +0200
+++ /work/SRC/openSUSE:Factory/.python-sure.new/python-sure.changes     
2017-11-11 14:17:37.987538612 +0100
@@ -1,0 +2,6 @@
+Sat Nov  4 02:06:40 UTC 2017 - a...@gmx.de
+
+- update to version 1.4.7:
+  * Remove wrong parens for format call. Refs #139
+
+-------------------------------------------------------------------

Old:
----
  sure-1.4.6.tar.gz

New:
----
  sure-1.4.7.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-sure.spec ++++++
--- /var/tmp/diff_new_pack.ObdGNI/_old  2017-11-11 14:17:38.803508706 +0100
+++ /var/tmp/diff_new_pack.ObdGNI/_new  2017-11-11 14:17:38.807508558 +0100
@@ -20,19 +20,19 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-sure
-Version:        1.4.6
+Version:        1.4.7
 Release:        0
 Summary:        Utility belt for automated testing in python for python
 License:        GPL-3.0+
 Group:          Development/Languages/Python
 Url:            https://github.com/requests/sure
 Source:         
https://files.pythonhosted.org/packages/source/s/sure/sure-%{version}.tar.gz
-BuildRequires:  fdupes
-BuildRequires:  python-rpm-macros
 BuildRequires:  %{python_module devel}
-BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module mock >= 2.0.0}
+BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module six >= 1.10.0}
+BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
 %if %{with test}
 BuildRequires:  %{python_module nose}
 %endif

++++++ sure-1.4.6.tar.gz -> sure-1.4.7.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sure-1.4.6/PKG-INFO new/sure-1.4.7/PKG-INFO
--- old/sure-1.4.6/PKG-INFO     2017-05-07 18:16:42.000000000 +0200
+++ new/sure-1.4.7/PKG-INFO     2017-10-02 15:46:06.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: sure
-Version: 1.4.6
+Version: 1.4.7
 Summary: utility belt for automated testing in python for python
 Home-page: http://github.com/gabrielfalcao/sure
 Author: Timo Furrer
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sure-1.4.6/setup.cfg new/sure-1.4.7/setup.cfg
--- old/sure-1.4.6/setup.cfg    2017-05-07 18:16:42.000000000 +0200
+++ new/sure-1.4.7/setup.cfg    2017-10-02 15:46:06.000000000 +0200
@@ -1,5 +1,4 @@
 [egg_info]
-tag_svn_revision = 0
 tag_build = 
 tag_date = 0
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sure-1.4.6/sure/__init__.py 
new/sure-1.4.7/sure/__init__.py
--- old/sure-1.4.6/sure/__init__.py     2017-05-07 18:16:19.000000000 +0200
+++ new/sure-1.4.7/sure/__init__.py     2017-10-02 15:45:40.000000000 +0200
@@ -48,7 +48,7 @@
 if not PY2:
     basestring = str
 
-version = '1.4.6'
+version = '1.4.7'
 
 
 not_here_error = \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sure-1.4.6/sure/core.py new/sure-1.4.7/sure/core.py
--- old/sure-1.4.6/sure/core.py 2017-05-07 18:16:19.000000000 +0200
+++ new/sure-1.4.7/sure/core.py 2017-10-02 15:45:40.000000000 +0200
@@ -100,7 +100,7 @@
             return True
         else:
             m = 'X{0}±{1} != Y{2}±{3}'.format(
-                (red(c.current_X_keys), self.epsilon, green(c.current_Y_keys), 
self.epsilon))
+                red(c.current_X_keys), self.epsilon, green(c.current_Y_keys), 
self.epsilon)
             return DeepExplanation(m)
 
     def compare_dicts(self, X, Y):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sure-1.4.6/sure.egg-info/PKG-INFO 
new/sure-1.4.7/sure.egg-info/PKG-INFO
--- old/sure-1.4.6/sure.egg-info/PKG-INFO       2017-05-07 18:16:42.000000000 
+0200
+++ new/sure-1.4.7/sure.egg-info/PKG-INFO       2017-10-02 15:46:06.000000000 
+0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: sure
-Version: 1.4.6
+Version: 1.4.7
 Summary: utility belt for automated testing in python for python
 Home-page: http://github.com/gabrielfalcao/sure
 Author: Timo Furrer
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sure-1.4.6/sure.egg-info/SOURCES.txt 
new/sure-1.4.7/sure.egg-info/SOURCES.txt
--- old/sure-1.4.6/sure.egg-info/SOURCES.txt    2017-05-07 18:16:42.000000000 
+0200
+++ new/sure-1.4.7/sure.egg-info/SOURCES.txt    2017-10-02 15:46:06.000000000 
+0200
@@ -27,5 +27,6 @@
 tests/issues/test_issue_104.py
 tests/issues/test_issue_134.py
 tests/issues/test_issue_136.py
+tests/issues/test_issue_139.py
 tests/issues/test_issue_19.py
 tests/issues/test_issue_48.py
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sure-1.4.6/tests/issues/test_issue_139.py 
new/sure-1.4.7/tests/issues/test_issue_139.py
--- old/sure-1.4.6/tests/issues/test_issue_139.py       1970-01-01 
01:00:00.000000000 +0100
+++ new/sure-1.4.7/tests/issues/test_issue_139.py       2017-10-02 
15:45:40.000000000 +0200
@@ -0,0 +1,21 @@
+# -*- coding: utf-8 -*-
+
+"""
+Test fix of bug described in GitHub Issue #139.
+"""
+
+from sure import expect
+
+
+def test_issue_139():
+    "Test for GitHub Issue #139"
+    # test with big epsilon
+    expect(1.).should.equal(5., 4.)
+
+    # shouldn't raise IndexError: tuple index out of range
+    try:
+        expect(1.).should.equal(5., 3.)
+    except AssertionError:
+        pass
+    else:
+        raise RuntimeError('should not be equal')


Reply via email to