[Pytest-commit] commit/tox: hpk42: merged PR125: tox now sets "PYTHONHASHSEED" if it is not set

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Fri Nov 15 11:08:46 CET 2013


1 new commit in tox:

https://bitbucket.org/hpk42/tox/commits/9db7aee8fb06/
Changeset:   9db7aee8fb06
User:        hpk42
Date:        2013-11-15 11:08:42
Summary:     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.
Affected #:  2 files

diff -r 5630201c3d53266e9a8fb0b9b37310256ddb213e -r 9db7aee8fb06c55ef4c3ddfc3aba97eff24bc8d7 CHANGELOG
--- 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 -r 5630201c3d53266e9a8fb0b9b37310256ddb213e -r 9db7aee8fb06c55ef4c3ddfc3aba97eff24bc8d7 tests/test_config.py
--- a/tests/test_config.py
+++ b/tests/test_config.py
@@ -953,6 +953,9 @@
         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']

Repository URL: https://bitbucket.org/hpk42/tox/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.


More information about the pytest-commit mailing list