remove unnecessary global from tests

This commit is contained in:
Damien Elmes 2019-12-24 19:15:21 +10:00
parent 387a5896a4
commit 1c9a3f086b

View File

@ -8,11 +8,7 @@ from anki.stdmodels import addBasicModel, models
from anki import Collection as aopen
newPath = None
newMod = None
def test_create_open():
global newPath, newMod
(fd, path) = tempfile.mkstemp(suffix=".anki2", prefix="test_attachNew")
try:
os.close(fd)