Skip to content

Commit 9d879e3

Browse files
committed
Move files only used in tests to pvlib/tests/data
1 parent 2816ed1 commit 9d879e3

File tree

80 files changed

+1595
-1593
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+1595
-1593
lines changed

.gitignore

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,9 @@ coverage.xml
8282

8383
# Datafiles
8484
*.csv
85-
# Ignore some csv
86-
!pvlib/data/*.csv
85+
# Do not exclude data directories
86+
!pvlib/data/**
87+
!pvlib/tests/data/**
8788

8889
# vi
8990
*.swp

pvlib/tests/conftest.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,8 @@ def assert_frame_equal(left, right, **kwargs):
7070

7171
# commonly used directories in the tests
7272
TEST_DIR = Path(__file__).parent
73-
DATA_DIR = TEST_DIR.parent / 'data'
73+
PVLIB_DATA_DIR = TEST_DIR.parent / 'data'
74+
TESTS_DATA_DIR = TEST_DIR / 'data'
7475

7576

7677
# pytest-rerunfailures variables
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)