Skip to content

tests fail with pexpect-3.0 #386

Closed
Closed

Description

@pytestbot

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


Activity

  1. pytestbot commented on Nov 17, 2013

    @pytestbot
    ContributorAuthor

    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

  2. pytestbot commented on Nov 19, 2013

    @pytestbot
    ContributorAuthor

    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.

  3. pytestbot commented on Nov 19, 2013

    @pytestbot
    ContributorAuthor

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugproblem that needs to be addressed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions