[Python-modules-commits] [python-testfixtures] 01/07: Import python-testfixtures_4.13.4.orig.tar.gz
Michael Fladischer
fladi at moszumanska.debian.org
Fri Feb 17 10:59:09 UTC 2017
This is an automated email from the git hooks/post-receive script.
fladi pushed a commit to branch master
in repository python-testfixtures.
commit b3abbb47901caf30202a2f0c6607aa9cf7e98c94
Author: Michael Fladischer <FladischerMichael at fladi.at>
Date: Fri Feb 17 11:04:41 2017 +0100
Import python-testfixtures_4.13.4.orig.tar.gz
---
docs/changes.txt | 7 +++++++
docs/conf.py | 4 +++-
testfixtures/tests/test_compare.py | 3 +++
testfixtures/version.txt | 2 +-
4 files changed, 14 insertions(+), 2 deletions(-)
diff --git a/docs/changes.txt b/docs/changes.txt
index 9e311f0..6e89e16 100644
--- a/docs/changes.txt
+++ b/docs/changes.txt
@@ -3,6 +3,13 @@ Changes
.. currentmodule:: testfixtures
+4.13.4 (6 February 2016)
+------------------------
+
+- Keep the `Reproducible Builds`__ guys happy.
+
+ __ https://reproducible-builds.org/
+
4.13.3 (13 December 2016)
-------------------------
diff --git a/docs/conf.py b/docs/conf.py
index 602454b..3a340fd 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -3,9 +3,11 @@ import datetime
import os
import pkginfo
import sys
+import time
on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
pkg_info = pkginfo.Develop(os.path.join(os.path.dirname(__file__), '..'))
+build_date = datetime.datetime.utcfromtimestamp(int(os.environ.get('SOURCE_DATE_EPOCH', time.time())))
extensions = [
'sphinx.ext.autodoc',
@@ -18,7 +20,7 @@ intersphinx_mapping = {'http://docs.python.org': None}
source_suffix = '.txt'
master_doc = 'index'
project = pkg_info.name
-copyright = '2008-2015 Simplistix Ltd, %s Chris Withers' % datetime.datetime.now().year
+copyright = '2008-2015 Simplistix Ltd, %s Chris Withers' % build_date.year
version = release = pkg_info.version
exclude_trees = ['_build']
exclude_patterns = ['description.txt']
diff --git a/testfixtures/tests/test_compare.py b/testfixtures/tests/test_compare.py
index 0ea7e42..bff4086 100644
--- a/testfixtures/tests/test_compare.py
+++ b/testfixtures/tests/test_compare.py
@@ -1316,6 +1316,9 @@ b
return 'OrmObj: '+str(self.a)
def test_django_orm_is_horrible(self):
+
+ self.assertTrue(self.OrmObj(1) == self.OrmObj(2))
+
def query_set():
yield self.OrmObj(1)
yield self.OrmObj(2)
diff --git a/testfixtures/version.txt b/testfixtures/version.txt
index 89c318c..32d3e23 100644
--- a/testfixtures/version.txt
+++ b/testfixtures/version.txt
@@ -1 +1 @@
-4.13.3
+4.13.4
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-testfixtures.git
More information about the Python-modules-commits
mailing list