Pull requests

#15 Merged
Repository
msabramo/tox_msabramo_realpath tox_msabramo_realpath
Branch
default
Repository
hpk42/tox tox
Branch
default

Fix test_config.py failures on OS X 10.6.8, caused by symlinked paths in

Author
  1. Marc Abramowitz
Reviewers
Description

Without this fix, I get 4 test failures in {{{test_config.py}}} -- e.g.:

{{{

/Users/marca/dev/hg-repos/tox/tests/test_config.py:14: AssertionError __________ TestConfigPackage.test_defaults ___________

self = <test_config.TestConfigPackage instance at 0x101642f38>, tmpdir = local('/var/folders/Z8/Z8PqKjxVE9yN98-ty2Nin-GaxZc/-Tmp-/pytest-12/test_defaults0') newconfig = <function newconfig at 0x1016f1a28>

def test_defaults(self, tmpdir, newconfig):
    config = newconfig([], "")
  assert config.setupdir == tmpdir

E assert local('/private/var/folders/Z8/Z8PqKjxVE9yN98-ty2Nin-GaxZc/-Tmp-/pytest-12/test_defaults0') == local('/var/folders/Z8/Z8PqKjxVE9yN98-ty2Nin-GaxZc/-Tmp-/pytest-12/test_defaults0') E + where local('/private/var/folders/Z8/Z8PqKjxVE9yN98-ty2Nin-GaxZc/-Tmp-/pytest-12/test_defaults0') = <tox._config.Config instance at 0x1016ee5a8>.setupdir }}}

  • Learn about pull requests

Comments (0)