summaryrefslogtreecommitdiffstats
path: root/tests/QtCore/bug_829.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/QtCore/bug_829.py')
-rw-r--r--tests/QtCore/bug_829.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/QtCore/bug_829.py b/tests/QtCore/bug_829.py
index da527ad..945d8df 100644
--- a/tests/QtCore/bug_829.py
+++ b/tests/QtCore/bug_829.py
@@ -3,12 +3,11 @@
import unittest
from PySide.QtCore import QSettings
-from helper import adjust_filename
import tempfile
class QVariantConversions(unittest.TestCase):
def testDictionary(self):
- confFile = tempfile.NamedTemporaryFile()
+ confFile = tempfile.NamedTemporaryFile(delete=False)
s = QSettings(confFile.name, QSettings.IniFormat)
# Save value
s.setValue('x', {1: 'a'})