summaryrefslogtreecommitdiff
path: root/dev-python/hgtools/files/hgtools-doctest-2.0.2.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/hgtools/files/hgtools-doctest-2.0.2.patch')
-rw-r--r--dev-python/hgtools/files/hgtools-doctest-2.0.2.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/dev-python/hgtools/files/hgtools-doctest-2.0.2.patch b/dev-python/hgtools/files/hgtools-doctest-2.0.2.patch
new file mode 100644
index 00000000000..328e6eee54b
--- /dev/null
+++ b/dev-python/hgtools/files/hgtools-doctest-2.0.2.patch
@@ -0,0 +1,11 @@
+--- hgtools-2.0.2/hgtools/versioning.py 2012-10-09 10:35:38.000000000 +0800
++++ hgtools-2.0.2.new/hgtools/versioning.py 2013-05-04 16:45:14.883913556 +0800
+@@ -60,7 +60,7 @@
+
+ def as_number(self):
+ """
+- >>> str(SummableVersion('1.9.3').as_number())
++ >>> str(round(SummableVersion('1.9.3').as_number(), 12))
+ '1.93'
+ """
+ def combine(subver, ver):