Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests fail with pexpect-3.0 #386

Closed
pytestbot opened this issue Nov 16, 2013 · 3 comments
Closed

tests fail with pexpect-3.0 #386

pytestbot opened this issue Nov 16, 2013 · 3 comments
Labels
type: bug problem that needs to be addressed

Comments

@pytestbot
Copy link
Contributor

Originally reported by: Matthew Thode (BitBucket: prometheanfire, GitHub: prometheanfire)


#!python

/usr/lib64/python3.2/site-packages/pexpect/__init__.py:839: TypeError
============================================================================================================================================ Sending information to Paste Service =============================================================================================================================================
/usr/lib64/python3.2/site-packages/pexpect/__init__.py:839: TypeError --> http://bpaste.net/show/150178
/usr/lib64/python3.2/site-packages/pexpect/__init__.py:839: TypeError --> http://bpaste.net/show/150179
/usr/lib64/python3.2/site-packages/pexpect/__init__.py:839: TypeError --> http://bpaste.net/show/150180
/usr/lib64/python3.2/site-packages/pexpect/__init__.py:839: TypeError --> http://bpaste.net/show/150181
/usr/lib64/python3.2/site-packages/pexpect/__init__.py:839: TypeError --> http://bpaste.net/show/150182
/usr/lib64/python3.2/site-packages/pexpect/__init__.py:839: TypeError --> http://bpaste.net/show/150183
/usr/lib64/python3.2/site-packages/pexpect/__init__.py:839: TypeError --> http://bpaste.net/show/150184
/usr/lib64/python3.2/site-packages/pexpect/__init__.py:839: TypeError --> http://bpaste.net/show/150185
/usr/lib64/python3.2/site-packages/pexpect/__init__.py:839: TypeError --> http://bpaste.net/show/150186
/usr/lib64/python3.2/site-packages/pexpect/__init__.py:839: TypeError --> http://bpaste.net/show/150187
/usr/lib64/python3.2/site-packages/pexpect/__init__.py:839: TypeError --> http://bpaste.net/show/150188
/usr/lib64/python3.2/site-packages/pexpect/__init__.py:839: TypeError --> http://bpaste.net/show/150189


@pytestbot
Copy link
Contributor Author

Original comment by BitBucket: idella5, GitHub: idella5:


/usr/lib64/python3.2/site-packages/pexpect/init.py:918:


self = <pexpect.spawn object at 0x138c950>
s = b'\x1b[1m============================= test session starts ==============================\x1b[0m\r\nplatform linux2 -- Python 3.2.5 -- pytest-2.4.2\r\n'
direction = 'read'

def _log(self, s, direction):
    if self.logfile is not None:
      self.logfile.write(s)

E TypeError: must be str, not bytes

/usr/lib64/python3.2/site-packages/pexpect/init.py:839: TypeError

@pytestbot
Copy link
Contributor Author

Original comment by holger krekel (BitBucket: hpk42, GitHub: hpk42):


I installed pexpect-3.0 and ran pytest's own test suite successfully.

Please provide a way to reproduce the problem and how you invoke py.test and open a new issue.

@pytestbot
Copy link
Contributor Author

Original comment by holger krekel (BitBucket: hpk42, GitHub: hpk42):


fix pexpect-3.0 compatibility for pytest's own tests.
(fixes issue386)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug problem that needs to be addressed
Projects
None yet
Development

No branches or pull requests

1 participant