forked from pool/python-rope
- Add assertEquals.patch, obsolete_escape_strings.patch, and
Python38-compatibility.patch to deal with various deprecated warnings. - Switch off three tests to make the test suite pass under Python 3.8. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rope?expand=0&rev=35
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
diff --git a/rope/base/ast.py b/rope/base/ast.py
|
||||
index d43c83c5..d24524e7 100644
|
||||
--- a/rope/base/ast.py
|
||||
+++ b/rope/base/ast.py
|
||||
@@ -1,5 +1,6 @@
|
||||
@@ -50,8 +48,6 @@ index d43c83c5..d24524e7 100644
|
||||
result.append(child)
|
||||
return result
|
||||
|
||||
diff --git a/rope/base/oi/type_hinting/utils.py b/rope/base/oi/type_hinting/utils.py
|
||||
index aec82ac0..ce90dfeb 100644
|
||||
--- a/rope/base/oi/type_hinting/utils.py
|
||||
+++ b/rope/base/oi/type_hinting/utils.py
|
||||
@@ -1,8 +1,12 @@
|
||||
@@ -131,8 +127,6 @@ index aec82ac0..ce90dfeb 100644
|
||||
|
||||
|
||||
class ParametrizeType(object):
|
||||
diff --git a/rope/base/utils/datastructures.py b/rope/base/utils/datastructures.py
|
||||
index 0cb16cf2..3790a6e1 100644
|
||||
--- a/rope/base/utils/datastructures.py
|
||||
+++ b/rope/base/utils/datastructures.py
|
||||
@@ -1,10 +1,13 @@
|
||||
@@ -151,8 +145,6 @@ index 0cb16cf2..3790a6e1 100644
|
||||
|
||||
def __init__(self, iterable=None):
|
||||
self.end = end = []
|
||||
diff --git a/rope/base/utils/pycompat.py b/rope/base/utils/pycompat.py
|
||||
index 1214658f..de7cf2e4 100644
|
||||
--- a/rope/base/utils/pycompat.py
|
||||
+++ b/rope/base/utils/pycompat.py
|
||||
@@ -1,5 +1,5 @@
|
||||
@@ -180,11 +172,9 @@ index 1214658f..de7cf2e4 100644
|
||||
execfile = execfile
|
||||
|
||||
def get_ast_arg_arg(node):
|
||||
diff --git a/ropetest/type_hinting_test.py b/ropetest/type_hinting_test.py
|
||||
index 7cc02bb1..afb98e19 100644
|
||||
--- a/ropetest/type_hinting_test.py
|
||||
+++ b/ropetest/type_hinting_test.py
|
||||
@@ -198,18 +198,18 @@ class AbstractAssignmentHintingTest(AbstractHintingTest):
|
||||
@@ -198,18 +198,18 @@ class AbstractAssignmentHintingTest(Abst
|
||||
+ self._make_class_hint('collections.Iterable[threading.Thread]') + \
|
||||
' def a_method(self):\n' \
|
||||
' for i in self.a_attr:\n' \
|
||||
|
||||
Reference in New Issue
Block a user