remove unnecessary global from tests

This commit is contained in:
Damien Elmes 2019-12-24 19:15:21 +10:00
parent a0590d9ed1
commit 9a239fb9a0

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)