summaryrefslogtreecommitdiff
path: root/dev-python/python-digest/files/python-digest-1.7-unittest.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/python-digest/files/python-digest-1.7-unittest.patch')
-rw-r--r--dev-python/python-digest/files/python-digest-1.7-unittest.patch9
1 files changed, 9 insertions, 0 deletions
diff --git a/dev-python/python-digest/files/python-digest-1.7-unittest.patch b/dev-python/python-digest/files/python-digest-1.7-unittest.patch
new file mode 100644
index 00000000000..e3abe0b77c8
--- /dev/null
+++ b/dev-python/python-digest/files/python-digest-1.7-unittest.patch
@@ -0,0 +1,9 @@
+--- python_digest/tests.py.orig 2012-04-25 11:48:30.212254059 +0200
++++ python_digest/tests.py 2012-04-25 11:48:58.371585156 +0200
+@@ -486,3 +486,6 @@
+ for c in s:
+ self.assertFalse(fs.character(c))
+ self.assertRaises(ValueError, fs.close)
++
++if __name__ == "__main__":
++ unittest.main()