mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12: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
|
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"))
|
||||||
|
|
Loading…
Reference in a new issue