{"action":"created","issue":{"url":"https://api.github.com/repos/jmcgeheeiv/pyfakefs/issues/381","repository_url":"https://api.github.com/repos/jmcgeheeiv/pyfakefs","labels_url":"https://api.github.com/repos/jmcgeheeiv/pyfakefs/issues/381/labels{/name}","comments_url":"https://api.github.com/repos/jmcgeheeiv/pyfakefs/issues/381/comments","events_url":"https://api.github.com/repos/jmcgeheeiv/pyfakefs/issues/381/events","html_url":"https://github.com/jmcgeheeiv/pyfakefs/issues/381","id":318282184,"node_id":"MDU6SXNzdWUzMTgyODIxODQ=","number":381,"title":"mutilated pytest stack traces","user":{"login":"kkroening","id":2035953,"node_id":"MDQ6VXNlcjIwMzU5NTM=","avatar_url":"https://avatars3.githubusercontent.com/u/2035953?v=4","gravatar_id":"","url":"https://api.github.com/users/kkroening","html_url":"https://github.com/kkroening","followers_url":"https://api.github.com/users/kkroening/followers","following_url":"https://api.github.com/users/kkroening/following{/other_user}","gists_url":"https://api.github.com/users/kkroening/gists{/gist_id}","starred_url":"https://api.github.com/users/kkroening/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kkroening/subscriptions","organizations_url":"https://api.github.com/users/kkroening/orgs","repos_url":"https://api.github.com/users/kkroening/repos","events_url":"https://api.github.com/users/kkroening/events{/privacy}","received_events_url":"https://api.github.com/users/kkroening/received_events","type":"User","site_admin":false},"labels":[{"id":187786273,"node_id":"MDU6TGFiZWwxODc3ODYyNzM=","url":"https://api.github.com/repos/jmcgeheeiv/pyfakefs/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"open","locked":false,"assignee":{"login":"jmcgeheeiv","id":3721985,"node_id":"MDQ6VXNlcjM3MjE5ODU=","avatar_url":"https://avatars1.githubusercontent.com/u/3721985?v=4","gravatar_id":"","url":"https://api.github.com/users/jmcgeheeiv","html_url":"https://github.com/jmcgeheeiv","followers_url":"https://api.github.com/users/jmcgeheeiv/followers","following_url":"https://api.github.com/users/jmcgeheeiv/following{/other_user}","gists_url":"https://api.github.com/users/jmcgeheeiv/gists{/gist_id}","starred_url":"https://api.github.com/users/jmcgeheeiv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmcgeheeiv/subscriptions","organizations_url":"https://api.github.com/users/jmcgeheeiv/orgs","repos_url":"https://api.github.com/users/jmcgeheeiv/repos","events_url":"https://api.github.com/users/jmcgeheeiv/events{/privacy}","received_events_url":"https://api.github.com/users/jmcgeheeiv/received_events","type":"User","site_admin":false},"assignees":[{"login":"jmcgeheeiv","id":3721985,"node_id":"MDQ6VXNlcjM3MjE5ODU=","avatar_url":"https://avatars1.githubusercontent.com/u/3721985?v=4","gravatar_id":"","url":"https://api.github.com/users/jmcgeheeiv","html_url":"https://github.com/jmcgeheeiv","followers_url":"https://api.github.com/users/jmcgeheeiv/followers","following_url":"https://api.github.com/users/jmcgeheeiv/following{/other_user}","gists_url":"https://api.github.com/users/jmcgeheeiv/gists{/gist_id}","starred_url":"https://api.github.com/users/jmcgeheeiv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmcgeheeiv/subscriptions","organizations_url":"https://api.github.com/users/jmcgeheeiv/orgs","repos_url":"https://api.github.com/users/jmcgeheeiv/repos","events_url":"https://api.github.com/users/jmcgeheeiv/events{/privacy}","received_events_url":"https://api.github.com/users/jmcgeheeiv/received_events","type":"User","site_admin":false}],"milestone":null,"comments":8,"created_at":"2018-04-27T05:29:01Z","updated_at":"2018-06-04T20:13:25Z","closed_at":null,"author_association":"NONE","body":"On Python 2.7, stack traces are garbled when using the `fs` pytest fixture:\r\n\r\n`test.py`:\r\n```python\r\ndef test(fs):\r\n    assert 0\r\n```\r\n\r\n`bash`:\r\n```bash\r\n$ virtualenv venv --no-site-packages\r\n$ . venv/bin/activate\r\n(venv) $ pip install pytest pyfakefs\r\n(venv) $ pytest test.py\r\n```\r\nOutput:\r\n```\r\n_____________________________________ test ______________________________________\r\n\r\nfs = <pyfakefs.fake_filesystem.FakeFilesystem object at 0x10efdbc50>\r\n\r\n>   ???\r\nE   assert 0\r\n\r\ntest.py:2: AssertionError\r\n```\r\n\r\nOutput without including `fs` fixture:\r\n```\r\n_____________________________________ test ______________________________________\r\n\r\n    def test():\r\n>       assert 0\r\nE       assert 0\r\n\r\ntest.py:2: AssertionError\r\n```\r\n\r\nAny ideas? Sorry if this has already been reported somewhere (I couldn't find an issue for it).\r\n\r\n\r\nPython version: 2.7.14\r\npip version: 10.0.1\r\nvirtualenv version: 15.1.0\r\npip freeze output:\r\n```\r\nattrs==17.4.0\r\nfuncsigs==1.0.2\r\nmore-itertools==4.1.0\r\npluggy==0.6.0\r\npy==1.5.3\r\npyfakefs==3.4.1\r\npytest==3.5.1\r\nsix==1.11.0\r\n```\r\n\r\nThanks,\r\nKarl"},"comment":{"url":"https://api.github.com/repos/jmcgeheeiv/pyfakefs/issues/comments/394483506","html_url":"https://github.com/jmcgeheeiv/pyfakefs/issues/381#issuecomment-394483506","issue_url":"https://api.github.com/repos/jmcgeheeiv/pyfakefs/issues/381","id":394483506,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NDQ4MzUwNg==","user":{"login":"jmcgeheeiv","id":3721985,"node_id":"MDQ6VXNlcjM3MjE5ODU=","avatar_url":"https://avatars1.githubusercontent.com/u/3721985?v=4","gravatar_id":"","url":"https://api.github.com/users/jmcgeheeiv","html_url":"https://github.com/jmcgeheeiv","followers_url":"https://api.github.com/users/jmcgeheeiv/followers","following_url":"https://api.github.com/users/jmcgeheeiv/following{/other_user}","gists_url":"https://api.github.com/users/jmcgeheeiv/gists{/gist_id}","starred_url":"https://api.github.com/users/jmcgeheeiv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmcgeheeiv/subscriptions","organizations_url":"https://api.github.com/users/jmcgeheeiv/orgs","repos_url":"https://api.github.com/users/jmcgeheeiv/repos","events_url":"https://api.github.com/users/jmcgeheeiv/events{/privacy}","received_events_url":"https://api.github.com/users/jmcgeheeiv/received_events","type":"User","site_admin":false},"created_at":"2018-06-04T20:13:25Z","updated_at":"2018-06-04T20:13:25Z","author_association":"OWNER","body":"Well done, @mrbean-bremen.\r\n\r\n@agosto-karlkroening, could we ask you to try this in your pytest environment and share this with us in the documentation?  Just get the content in there, submit a pull request, assign it to me and I will be your tech writer."}}
{"actor":{"display_login":"jmcgeheeiv"}}