From a3f8a15c3725621d2cbbfd1e142db19a6e9f71fa Mon Sep 17 00:00:00 2001 From: Arthur Milchior Date: Mon, 20 Jul 2020 10:16:39 +0200 Subject: [PATCH] remove unused variable --- pylib/tests/test_schedv1.py | 6 +++--- pylib/tests/test_schedv2.py | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/pylib/tests/test_schedv1.py b/pylib/tests/test_schedv1.py index e43b1b221..c8ee7b7ed 100644 --- a/pylib/tests/test_schedv1.py +++ b/pylib/tests/test_schedv1.py @@ -990,12 +990,12 @@ def test_deckDue(): # add one more with a new deck note = col.newNote() note["Front"] = "two" - foobar = note.model()["did"] = col.decks.id("foo::bar") + note.model()["did"] = col.decks.id("foo::bar") col.addNote(note) # and one that's a sibling note = col.newNote() note["Front"] = "three" - foobaz = note.model()["did"] = col.decks.id("foo::baz") + note.model()["did"] = col.decks.id("foo::baz") col.addNote(note) col.reset() assert len(col.decks.all_names_and_ids()) == 5 @@ -1026,7 +1026,7 @@ def test_deckFlow(): # and one that's a child note = col.newNote() note["Front"] = "two" - default1 = note.model()["did"] = col.decks.id("Default::2") + note.model()["did"] = col.decks.id("Default::2") col.addNote(note) # and another that's higher up note = col.newNote() diff --git a/pylib/tests/test_schedv2.py b/pylib/tests/test_schedv2.py index 90a05fc68..7afd98b5f 100644 --- a/pylib/tests/test_schedv2.py +++ b/pylib/tests/test_schedv2.py @@ -1017,12 +1017,12 @@ def test_deckDue(): # add one more with a new deck note = col.newNote() note["Front"] = "two" - foobar = note.model()["did"] = col.decks.id("foo::bar") + note.model()["did"] = col.decks.id("foo::bar") col.addNote(note) # and one that's a sibling note = col.newNote() note["Front"] = "three" - foobaz = note.model()["did"] = col.decks.id("foo::baz") + note.model()["did"] = col.decks.id("foo::baz") col.addNote(note) col.reset() assert len(col.decks.all_names_and_ids()) == 5 @@ -1063,7 +1063,7 @@ def test_deckFlow(): # and one that's a child note = col.newNote() note["Front"] = "two" - default1 = note.model()["did"] = col.decks.id("Default::2") + note.model()["did"] = col.decks.id("Default::2") col.addNote(note) # and another that's higher up note = col.newNote()