pytoolz / pytoolz/toolz

py.test fails on Ubuntu ppc64le

Open
#367 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
5.2k
Forks
280
Avg merge
6d 17h
Merged PRs (30d)
4

Description

I am trying to port toolz on ppc64le Ubuntu VM.

The py.test command fails with the following error


============================================================== FAILURES ==============================================================
__________________________________________________________ test_shakespeare __________________________________________________________

    def test_shakespeare():
>       with open('bench/shakespeare.txt') as f:
E       IOError: [Errno 2] No such file or directory: 'bench/shakespeare.txt'

bench/test_wordcount.py:17: IOError
=============================================== 1 failed, 198 passed in 13.41 seconds ================================================
bash-4.2#

In the clone, there is no bench/shakespeare.txt file.

#nosetests command passed successfully though.

Am I missing something?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with bench/test_wordcount.py, especially test_shakespeare, and verify whether bench/shakespeare.txt is expected to be present in the clone. Compare the failing py.test run with the successful nosetests run. Done means the test suite no longer fails because bench/shakespeare.txt is missing.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
testing-qa
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.