[Reproducible-builds] [dh-python] 97/183: Bump doctests s/3.2/3.3/
Jérémy Bobbio
lunar at moszumanska.debian.org
Fri Sep 19 15:30:25 UTC 2014
This is an automated email from the git hooks/post-receive script.
lunar pushed a commit to branch pu/reproducible_builds
in repository dh-python.
commit f5f51c99c4077a9bf3bb799a683692e4f6ee6282
Author: Dmitrijs Ledkovs <xnox at debian.org>
Date: Sat Aug 31 12:54:49 2013 +0200
Bump doctests s/3.2/3.3/
---
debian/changelog | 1 +
dhpython/interpreter.py | 8 ++++----
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 0999cee..a6c4930 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ dh-python (1.20130830-1) UNRELEASED; urgency=low
[ Dmitrijs Ledkovs ]
* Fix pybuild.pm when PYBUILD_INTERPRETERS is set
(broken in previous upload, closes: #720744)
+ * Bump doctests s/3.2/3.3/
[ Piotr Ożarowski ]
* Add Barry Warsaw to co-maintainers
diff --git a/dhpython/interpreter.py b/dhpython/interpreter.py
index ee2e47d..6a15647 100644
--- a/dhpython/interpreter.py
+++ b/dhpython/interpreter.py
@@ -304,8 +304,8 @@ class Interpreter:
>>> i = Interpreter('python')
>>> i.cache_file('foo.py', Version('3.1'))
'foo.pyc'
- >>> i.cache_file('bar/foo.py', '3.2')
- 'bar/__pycache__/foo.cpython-32.pyc'
+ >>> i.cache_file('bar/foo.py', '3.3')
+ 'bar/__pycache__/foo.cpython-33.pyc'
"""
version = Version(version or self.version)
last_char = 'o' if '-O' in self.options else 'c'
@@ -330,8 +330,8 @@ class Interpreter:
"""Return Python magic tag (used in __pycache__ dir to tag files).
>>> i = Interpreter('python')
- >>> i.magic_tag(version='3.2')
- 'cpython-32'
+ >>> i.magic_tag(version='3.3')
+ 'cpython-33'
"""
version = Version(version or self.version)
if self.impl.startswith('cpython') and version << Version('3.2'):
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/dh-python.git
More information about the Reproducible-builds
mailing list