Skip to content

Commit

Permalink
fixing relative pathing in test
Browse files Browse the repository at this point in the history
  • Loading branch information
bandophahita committed Feb 16, 2024
1 parent a87d05d commit 2a652f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test__version__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def test_copyright_year() -> None:

def test_copyright_year_in_license() -> None:
current = datetime.now().year
license_path = Path.cwd().parents[0] / "LICENSE"
license_path = Path(__file__) / ".." / "LICENSE"
with open(license_path) as fp:
license_text = fp.read()

Expand Down

0 comments on commit 2a652f8

Please sign in to comment.