Mercurial > public > mercurial-scm > hg-stable
diff tests/test-commandserver.t @ 33607:6c142f279625 stable
pypy: fix failing test files with Pypy5.6.0
Pypy 5.6.0 saves cached bytecode files in __pycache__ directory, clean them in
tests to fix loading old test extensions code.
Doing so should also helps for Python3.x migration.
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Mon, 31 Jul 2017 17:43:45 +0200 |
parents | b11e8c67fb0f |
children | 47ea28293d30 |
line wrap: on
line diff
--- a/tests/test-commandserver.t Sun Jul 30 12:19:46 2017 +0530 +++ b/tests/test-commandserver.t Mon Jul 31 17:43:45 2017 +0200 @@ -234,7 +234,9 @@ *** runcommand --config hooks.pre-identify=python:hook.hook id eff892de26ec tip +Clean hook cached version $ rm hook.py* + $ rm -Rf __pycache__ $ echo a >> a >>> import os