forked from pool/python-xmldiff
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xmldiff?expand=0&rev=23
14 lines
593 B
Diff
14 lines
593 B
Diff
Index: xmldiff-2.7.0/tests/test_main.py
|
|
===================================================================
|
|
--- xmldiff-2.7.0/tests/test_main.py.orig
|
|
+++ xmldiff-2.7.0/tests/test_main.py
|
|
@@ -44,7 +44,7 @@ class MainAPITests(unittest.TestCase):
|
|
with open(LEFT_FILE, "rb") as infile:
|
|
with open(RIGHT_FILE, "rb") as infile:
|
|
# Give something else, and it fails:
|
|
- with self.assertRaises(ValueError):
|
|
+ with self.assertRaises(TypeError):
|
|
main.diff_texts(infile, infile)
|
|
|
|
def test_api_diff_trees(self):
|