Closed jayvdb closed 3 years ago
Also the libbrotli/tests/testdata is not included. It is fairly large, so maybe not including it is a good thing, but the error message is currently
[ 109s] ImportError while loading conftest '/home/abuild/rpmbuild/BUILD/brotlipy-0.7.0/test/conftest.py'.
[ 109s] /usr/lib/python2.7/site-packages/six.py:709: in exec_
[ 109s] exec("""exec _code_ in _globs_, _locs_""")
[ 109s] test/conftest.py:11: in <module>
[ 109s] os.path.join(TEST_DATA_DIR, p) for p in os.listdir(TEST_DATA_DIR)
[ 109s] E OSError: [Errno 2] No such file or directory: '/home/abuild/rpmbuild/BUILD/brotlipy-0.7.0/libbrotli/tests/testdata'
That could be enhanced by indicating that the user should fetch the data separately, and give them the gitmodule sha which they should use to fetch the right test data for that release.
Running the tests from the sdist results in