summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Conrad <alexandre.conrad@gmail.com>2014-12-20 00:54:58 +0000
committerAlexandre Conrad <alexandre.conrad@gmail.com>2014-12-20 00:54:58 +0000
commitac65fa83ff498ab5ee02a3cc73deef3c30619a00 (patch)
tree0971958df09a5ebe6249cf9d0f746e2f4e487d19
parente3486379267657e8b7d20319a9445626f93def59 (diff)
downloadtox-ac65fa83ff498ab5ee02a3cc73deef3c30619a00.tar.gz
explain how to disable PYTHONHASHSEED
-rw-r--r--CHANGELOG2
-rw-r--r--doc/example/basic.txt6
2 files changed, 6 insertions, 2 deletions
diff --git a/CHANGELOG b/CHANGELOG
index 9542099..55ab8ae 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -95,7 +95,7 @@
- merged PR125: tox now sets "PYTHONHASHSEED" to a random value
and offers a "--hashseed" option to repeat a test run with a specific seed.
- You can also use --hashsheed=notset to instruct tox to leave the value
+ You can also use --hashsheed=noset to instruct tox to leave the value
alone. Thanks Chris Jerdonek for all the work behind this.
- fix issue132: removing zip_safe setting (so it defaults to false)
diff --git a/doc/example/basic.txt b/doc/example/basic.txt
index f9a0606..49baeee 100644
--- a/doc/example/basic.txt
+++ b/doc/example/basic.txt
@@ -191,10 +191,14 @@ You can tell Tox to use an explicit hash seed value via the ``--hashseed``
command-line option to ``tox``. You can also override the hash seed value
per test environment in ``tox.ini`` as follows::
- [testenv:hash]
+ [testenv]
setenv =
PYTHONHASHSEED = 100
+If you wish to disable this feature, you can pass the command line option
+``--hashseed=noset`` when ``tox`` is invoked. You can also disable it from the
+``tox.ini`` by setting ``PYTHONHASHSEED = 0`` as described above.
+
.. _`in Python 3.3`: http://docs.python.org/3/whatsnew/3.3.html#builtin-functions-and-types
.. _PYTHONHASHSEED: http://docs.python.org/using/cmdline.html#envvar-PYTHONHASHSEED