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

hyfetch/distros/cachy_os.py still imports hyfetch.distro #92

Closed
1 task done
rakino opened this issue Feb 11, 2023 · 1 comment
Closed
1 task done

hyfetch/distros/cachy_os.py still imports hyfetch.distro #92

rakino opened this issue Feb 11, 2023 · 1 comment

Comments

@rakino
Copy link

rakino commented Feb 11, 2023

Description

If you're suggesting a new feature then just a description will suffice.

  • Does this issue still occur in the master branch? (Required if issue)

python3 setup.py test output:

running test
WARNING: Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox.
running egg_info
writing HyFetch.egg-info/PKG-INFO
writing dependency_links to HyFetch.egg-info/dependency_links.txt
writing entry points to HyFetch.egg-info/entry_points.txt
writing requirements to HyFetch.egg-info/requires.txt
writing top-level names to HyFetch.egg-info/top_level.txt
reading manifest file 'HyFetch.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE.md'
writing manifest file 'HyFetch.egg-info/SOURCES.txt'
running build_ext
cachy_os (unittest.loader._FailedTest) ... ERROR

======================================================================
ERROR: cachy_os (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: cachy_os
Traceback (most recent call last):
  File "/gnu/store/snsyfmz48r2hqfi2bfwcas952ajf1js7-profile/lib/python3.9/unittest/loader.py", line 154, in loadTestsFromName
    module = __import__(module_name)
  File "/home/hako/Repository/hyfetch/hyfetch/distros/cachy_os.py", line 2, in <module>
    from hyfetch.distro import AsciiArt
ModuleNotFoundError: No module named 'hyfetch.distro'


----------------------------------------------------------------------
Ran 1 test in 0.001s

FAILED (errors=1)
Test failed: <unittest.runner.TextTestResult run=1 errors=1 failures=0>
error: Test failed: <unittest.runner.TextTestResult run=1 errors=1 failures=0>
@hykilpikonna
Copy link
Owner

Oops. This is an old file that's generated from the last version and not re-generated because the distro is renamed in the neofetch script.

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

2 participants