diff options
author | Alexandre Conrad <alexandre.conrad@gmail.com> | 2014-12-20 00:54:58 +0000 |
---|---|---|
committer | Alexandre Conrad <alexandre.conrad@gmail.com> | 2014-12-20 00:54:58 +0000 |
commit | ac65fa83ff498ab5ee02a3cc73deef3c30619a00 (patch) | |
tree | 0971958df09a5ebe6249cf9d0f746e2f4e487d19 | |
parent | e3486379267657e8b7d20319a9445626f93def59 (diff) | |
download | tox-ac65fa83ff498ab5ee02a3cc73deef3c30619a00.tar.gz |
explain how to disable PYTHONHASHSEED
-rw-r--r-- | CHANGELOG | 2 | ||||
-rw-r--r-- | doc/example/basic.txt | 6 |
2 files changed, 6 insertions, 2 deletions
@@ -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 |