Skip to content

3.43.1: test_monitor_progress.py unable to find progressbar module #201

@dvzrv

Description

@dvzrv

Description

Hi! I'm currently packaging python-progressbar for Arch Linux.
During packaging of 3.43.1 I'm attempting to run the tests using pytest, but I'm running into issues with the tests in tests/test_monitor_progress.py. I think they are happening, because those tests don't honor the $PYTHONPATH environment variable.

The build/ test output is here:
python-progressbar-3.43.1-check.log

Code

rm -v pytest.ini
python setup.py build
export PYTHONPATH="${PWD}/build:${PYTHONPATH}"
py.test                            

Currently I have to disable a few tests because of this behavior, when running py.test:

py.test -k 'not test_non_timed \                                                                                                                                                            
                and not test_context_wrapper \
                and not test_rapid_updates \
                and not test_generator_example \
                and not test_list_example'

Versions

  • Python version: 3.7.4
    • python-pytest: 5.1.1
    • python-freezegun: 0.3.12
    • python-utils: 2.3.0
    • python-sphinx: 2.2.0
    • python-six: 1.12.0
  • Python distribution/environment: Python
  • Operating System: Arch Linux
  • Package version: 3.43.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions