Skip to content

Commit

Permalink
Try to fix AppVeyor CI test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
thombashi committed Jul 15, 2018
1 parent 5229def commit a1237ed
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/test_file_subcommand_ipynb.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
from __future__ import print_function

import os
import platform

import pytest
from click.testing import CliRunner
Expand Down Expand Up @@ -45,7 +46,8 @@ def test_smoke_one_file(self, file_path, expected):

assert result.exit_code == expected, file_path
finally:
os.remove(db_path)
if platform.system() != "Windows":
os.remove(db_path)

def test_smoke_multi_file(self):
runner = CliRunner()
Expand Down

0 comments on commit a1237ed

Please sign in to comment.