Skip to content

Commit

Permalink
fix: add missing file for test (#1400)
Browse files Browse the repository at this point in the history
* fix: add missing file for test

* fix: add missing file for test

* fix(linting): code formatting

---------

Co-authored-by: Azory YData Bot <[email protected]>
  • Loading branch information
aquemy and azory-ydata committed Aug 1, 2023
1 parent 8e56efb commit fa5fb73
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/issues/test_issue545.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
https://github.com/ydataai/ydata-profiling/issues/545
"""

from pathlib import Path

import pandas as pd
import pytest
from pathlib import Path
Expand All @@ -14,8 +16,8 @@
@pytest.mark.skipif(
pandas_version_info() <= (1, 1, 0), reason="requires pandas 1.1.1 or higher"
)
def test_issue545(get_data_file):
file_name = Path(__file__).parents[0] / 'data/sample_eda_df.pkl'
def test_issue545():
file_name = Path(__file__).parents[0] / "data/sample_eda_df.pkl"

sample_eda_df = pd.read_pickle(str(file_name))
sample_profile = ProfileReport(
Expand Down

0 comments on commit fa5fb73

Please sign in to comment.