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

Comments

Projects
None yet
1 participant
@pytestbot
Copy link

pytestbot commented Nov 16, 2013

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

This comment has been minimized.

Copy link
Author

pytestbot commented Nov 17, 2013

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

This comment has been minimized.

Copy link
Author

pytestbot commented Nov 19, 2013

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

This comment has been minimized.

Copy link
Author

pytestbot commented Nov 19, 2013

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
You can’t perform that action at this time.