Skip to content

Commit

Permalink
[CI] Fix test_tags (index is of type int, not string)
Browse files Browse the repository at this point in the history
Probably this has become an issue with a never version of pandas which
has stricter checking, because this wasn't an issue before
  • Loading branch information
klieret committed Jan 11, 2021
1 parent 75b6c56 commit 02a1234
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ankipandas/test/test_ankidf.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,11 +104,11 @@ def test_empty(self):

def test_tags(self):
self.assertListEqual(
list(self.notes.query("index=='1555579337683'")["ntags"].values)[0],
list(self.notes.query("index==1555579337683")["ntags"].values)[0],
["other_test_tag"],
)
self.assertListEqual(
list(self.notes.query("index=='1555579352896'")["ntags"].values)[0],
list(self.notes.query("index==1555579352896")["ntags"].values)[0],
["some_test_tag"],
)

Expand Down

0 comments on commit 02a1234

Please sign in to comment.