hide deprecation warning triggered by supermemo test

This commit is contained in:
Damien Elmes 2020-04-06 20:24:17 +10:00
parent e005140909
commit e247ac3c47

View file

@ -3,6 +3,8 @@
import os import os
from tempfile import NamedTemporaryFile from tempfile import NamedTemporaryFile
import pytest
from anki.importing import ( from anki.importing import (
Anki2Importer, Anki2Importer,
AnkiPackageImporter, AnkiPackageImporter,
@ -303,6 +305,7 @@ def test_csv_tag_only_if_modified():
deck.close() deck.close()
@pytest.mark.filterwarnings("ignore:Using or importing the ABCs")
def test_supermemo_xml_01_unicode(): def test_supermemo_xml_01_unicode():
deck = getEmptyCol() deck = getEmptyCol()
file = str(os.path.join(testDir, "support/supermemo1.xml")) file = str(os.path.join(testDir, "support/supermemo1.xml"))