Release archives lack test/api.doctests file #15

Closed
mgorny opened this Issue Jan 19, 2013 · 0 comments

Comments

Projects
None yet
1 participant

mgorny commented Jan 19, 2013

$ ./test.py 
appdirs/doctests/api ... ERROR
appdirs/doctests/internal ... ok

======================================================================
ERROR: appdirs/doctests/api
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./test_appdirs.py", line 18, in test_api
    test = doctest.DocFileTest("api.doctests")
  File "/usr/lib64/python2.7/doctest.py", line 2424, in DocFileTest
    doc, path = _load_testfile(path, package, module_relative)
  File "/usr/lib64/python2.7/doctest.py", line 219, in _load_testfile
    with open(filename) as f:
IOError: [Errno 2] No such file or directory: './api.doctests'

----------------------------------------------------------------------
Ran 2 tests in 0.079s

FAILED (1 error)

It seems that the file should be added to MANIFEST.in.

@srid srid closed this in d147ac2 Mar 19, 2013

cpburnz added a commit to cpburnz/appdirs that referenced this issue May 7, 2014

Radical simplification ...
Don’t use third part modules when you don’t have to.

This library uses setup like for thousands line program (including own
test harness), but doesn't contain almost anything. I think radical
simplification would be helpful.

Fixes #15
Fixes #10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment