Skip to content

Commit

Permalink
test(hansbug): add test for pandas in test template
Browse files Browse the repository at this point in the history
  • Loading branch information
HansBug committed Oct 11, 2022
1 parent 534e913 commit 92dd039
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion requirements-test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,5 @@ numpy>=1.19,<2
where>=1.0.2
rarfile>=3
py7zr>=0.19
time-machine>=2.8.1
time-machine>=2.8.1
pandas>=1.1.0
2 changes: 2 additions & 0 deletions templates/test/inquirer.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import os

import pandas as pd # Test the usage of pandas
from InquirerPy import inquirer

from igm.conf import InquireRestart, InquireCancel
Expand All @@ -11,6 +12,7 @@


def inquire_func():
_ = pd
if os.environ.get('CANCEL'):
raise InquireCancel

Expand Down

0 comments on commit 92dd039

Please sign in to comment.