Skip to content

pytester.spawn should not skip FreeBSD #6069

@blueyed

Description

@blueyed

This was done in 0852e84, but likely just because pexpect was used wrongly there still (it has received fixes since then, likely similar to osx in this regard.

It works actually:

============================= test session starts ==============================
platform freebsd12 -- Python 3.6.9, pytest-2.9.1.dev6117+g8ee7278f4, py-1.8.0, pluggy-0.13.0
cachedir: .tox/py36-lsof-pexpect-numpy-twisted/.pytest_cache
hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase('/usr/home/build/pytest/.hypothesis/examples')
rootdir: /usr/home/build/pytest, inifile: tox.ini, testpaths: testing
plugins: hypothesis-4.41.3
implicit args: '-ra -p pytester --strict-markers' (addopts config), '-m uses_pexpect' (PYTEST_ADDOPTS)
collecting ... 
collecting 212 items                                                           
collecting 432 items                                                           
collecting 729 items                                                           
collecting 887 items                                                           
collecting 1211 items                                                          
collecting 1395 items                                                          
collecting 1533 items                                                          
collecting 1823 items                                                          
collecting 2031 items                                                          
collecting 2211 items                                                          
collecting 2471 items                                                          
collected 2617 items / 2576 deselected / 41 selected                           

testing/test_parseopt.py .                                               [  2%]
testing/test_pdb.py ..............................ss....                 [ 90%]
testing/test_pytester.py .                                               [ 92%]
testing/test_terminal.py ..                                              [ 97%]
testing/test_unittest.py .                                               [100%]

=========================== short test summary info ============================
SKIPPED [1] testing/test_pdb.py:973: Requires breakpoint() builtin
SKIPPED [1] testing/test_pdb.py:996: Requires breakpoint() builtin
=============== 39 passed, 2 skipped, 2576 deselected in 57.71s ================
py36-lsof-pexpect-numpy-twisted finish: run-test  after 60.17 seconds
py36-lsof-pexpect-numpy-twisted start: run-test-post 
py36-lsof-pexpect-numpy-twisted finish: run-test-post  after 0.00 seconds
___________________________________ summary ____________________________________
  py36-lsof-pexpect-numpy-twisted: commands succeeded
  congratulations :)
cleanup /usr/home/build/pytest/.tox/.tmp/package/1/pytest-2.9.1.dev6117+g8ee7278f4.tar.gz

https://builds.sr.ht/~blueyed/job/100544

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: enhancementnew feature or API change, should be merged into features branchtype: selftestsa problem in the tests of pytest

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions