Skip to content

Commit e67f644

Browse files
committed
Fix
1 parent 0929bec commit e67f644

File tree

6 files changed

+3
-3
lines changed

6 files changed

+3
-3
lines changed

.github/workflows/coverage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
python -m pip install ".[test]"
2626
pip list
2727
28-
- name: Test NetworkX
28+
- name: Measure test coverage
2929
run: |
3030
python -m pytest --cov=lazy_loader --doctest-modules --durations=20
3131
codecov

lazy_loader/tests/__init__.py

Whitespace-only changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

tests/test_lazy_loader.py renamed to lazy_loader/tests/test_lazy_loader.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ def test_lazy_attach():
9797

9898

9999
def test_attach_same_module_and_attr_name():
100-
import fake_pkg
100+
from lazy_loader.tests import fake_pkg
101101

102102
# Grab attribute twice, to ensure that importing it does not
103103
# override function by module
@@ -126,7 +126,7 @@ def test_stub_loading(tmp_path):
126126

127127

128128
def test_stub_loading_parity():
129-
import fake_pkg
129+
from lazy_loader.tests import fake_pkg
130130

131131
from_stub = lazy.attach_stub(fake_pkg.__name__, fake_pkg.__file__)
132132
stub_getter, stub_dir, stub_all = from_stub

0 commit comments

Comments
 (0)