From 1c9a3f086bc6e1b4fe78c4d11bfc585cef9ca919 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Tue, 24 Dec 2019 19:15:21 +1000 Subject: [PATCH] remove unnecessary global from tests --- tests/test_collection.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tests/test_collection.py b/tests/test_collection.py index 9abc91c92..37304cd47 100644 --- a/tests/test_collection.py +++ b/tests/test_collection.py @@ -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)