Skip to content

Commit

Permalink
Fix import typo
Browse files Browse the repository at this point in the history
  • Loading branch information
eliasdabbas committed Oct 31, 2023
1 parent 34029eb commit 2d95896
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/conftest.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import platform
from pathlib import Path
from tempfile import TemporaryDirectory

import pytest
import system
from pandas import read_json

from advertools import crawl_headers
Expand All @@ -25,7 +25,7 @@ def headers_crawl_df(crawl_dir):
},
)
filepath = crawl_dir.joinpath("headers_output.jl")
if system.platform == "Windows":
if platform.system == "Windows":
filepath = filepath.replace("/", r"\\")

df = read_json(filepath, lines=True)
Expand Down

0 comments on commit 2d95896

Please sign in to comment.