mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
hide deprecation warning triggered by supermemo test
This commit is contained in:
parent
e005140909
commit
e247ac3c47
1 changed files with 3 additions and 0 deletions
|
@ -3,6 +3,8 @@
|
|||
import os
|
||||
from tempfile import NamedTemporaryFile
|
||||
|
||||
import pytest
|
||||
|
||||
from anki.importing import (
|
||||
Anki2Importer,
|
||||
AnkiPackageImporter,
|
||||
|
@ -303,6 +305,7 @@ def test_csv_tag_only_if_modified():
|
|||
deck.close()
|
||||
|
||||
|
||||
@pytest.mark.filterwarnings("ignore:Using or importing the ABCs")
|
||||
def test_supermemo_xml_01_unicode():
|
||||
deck = getEmptyCol()
|
||||
file = str(os.path.join(testDir, "support/supermemo1.xml"))
|
||||
|
|
Loading…
Reference in a new issue