Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when running tests for site-packages install #13

Open
ashutoshvarma opened this issue Aug 20, 2020 · 1 comment
Open

Error when running tests for site-packages install #13

ashutoshvarma opened this issue Aug 20, 2020 · 1 comment

Comments

@ashutoshvarma
Copy link
Owner

See the CI run - https://github.com/ashutoshvarma/pyxpdf/runs/990111561
importing test_segfault_image_text_image.py is causing problem

Using package from site-packages.
Traceback (most recent call last):
  File "runtests.py", line 213, in import_module
    mod = __import__(modname)
ModuleNotFoundError: No module named 'tests.test_segfault_image_text_image'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "runtests.py", line 661, in <module>
    exitcode = main(sys.argv)
  File "runtests.py", line 598, in main
    test_cases = get_test_cases(test_files, cfg, cov=cov)
  File "runtests.py", line 281, in get_test_cases
    module = import_module(file, cfg, cov=cov)
  File "runtests.py", line 221, in import_module
    mod = __import__(modname)
ModuleNotFoundError: No module named 'tests.test_segfault_image_text_image'
@ashutoshvarma
Copy link
Owner Author

after many attempts, now it seems that i have to rewrite entire tests discovery part to fix this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant