Skip to content

Commit

Permalink
Remove usage of the os module in tests for GT.write_html()
Browse files Browse the repository at this point in the history
  • Loading branch information
jrycw committed Oct 7, 2024
1 parent ecff5da commit 025ac69
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/test_export.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,6 @@ def test_write_html(gt_tbl):
assert p_file.exists()

# Pass the filename as a string
import os

s_file = str(Path(tmp_dir, "table2.html"))
gt_tbl.write_html(s_file)
assert os.path.exists(s_file)
assert Path(s_file).exists()

0 comments on commit 025ac69

Please sign in to comment.