1 new commit in pytest: https://bitbucket.org/hpk42/pytest/commits/1fe40df11278/ Changeset: 1fe40df11278 User: hpk42 Date: 2013-09-30 08:36:31 Summary: avoid creation of file in os.getcwd() cc avanderneut Affected #: 1 file
diff -r 64445644395fd57f600e0027d78692971ccd44d2 -r 1fe40df1127840c4aaf946c8dc955c2d7d6e1912 testing/test_parseopt.py --- a/testing/test_parseopt.py +++ b/testing/test_parseopt.py @@ -245,7 +245,7 @@ if not py.path.local.sysfind('bash'): pytest.skip("bash not available") import os - script = os.path.join(os.getcwd(), 'test_argcomplete') + script = str(testdir.tmpdir.join("test_argcomplete")) with open(str(script), 'w') as fp: # redirect output from argcomplete to stdin and stderr is not trivial # http://stackoverflow.com/q/12589419/1307905 Repository URL: https://bitbucket.org/hpk42/pytest/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email. _______________________________________________ pytest-commit mailing list pytest-commit@python.org https://mail.python.org/mailman/listinfo/pytest-commit