summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorholger krekel <holger@merlinux.eu>2013-11-15 11:08:42 +0100
committerholger krekel <holger@merlinux.eu>2013-11-15 11:08:42 +0100
commitf5ffa8b9f96540c0b855f5c90187d226d7117912 (patch)
tree8ed2d3024d95781e55ad81e5cc5c4139a7129eea
parent85c7a80c4024780f9d091b98d0a65ac08936ac04 (diff)
downloadtox-f5ffa8b9f96540c0b855f5c90187d226d7117912.tar.gz
merged PR125: tox now sets "PYTHONHASHSEED" if it is not set
and offers a "--hashseed" option to repeat a test run with a specific seed. Thanks Chris Jerdonek for all the work behind this.
-rwxr-xr-xCHANGELOG4
-rw-r--r--tests/test_config.py3
2 files changed, 7 insertions, 0 deletions
diff --git a/CHANGELOG b/CHANGELOG
index aeb8b05..e7a61ad 100755
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,6 +1,10 @@
1.6.2.dev
---------
+- merged PR125: tox now sets "PYTHONHASHSEED" if it is not set
+ and offers a "--hashseed" option to repeat a test run with a specific seed.
+ Thanks Chris Jerdonek for all the work behind this.
+
- fix issue132: removing zip_safe setting (so it defaults to false)
to allow installation of tox
via easy_install/eggs. Thanks Jenisys.
diff --git a/tests/test_config.py b/tests/test_config.py
index ad336ef..f07f191 100644
--- a/tests/test_config.py
+++ b/tests/test_config.py
@@ -953,6 +953,9 @@ class TestHashseedOption:
args = ['--hashseed', '']
self._check_testenv(newconfig, '', args=args)
+ @pytest.mark.xfail(sys.version_info >= (3,2),
+ reason="at least Debian python 3.2/3.3 have a bug: "
+ "http://bugs.python.org/issue11884")
def test_passing_no_argument(self, tmpdir, newconfig):
"""Test that passing no arguments to --hashseed is not allowed."""
args = ['--hashseed']