We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89bb2be commit 969caa4Copy full SHA for 969caa4
gcloud/test__helpers.py
@@ -187,10 +187,9 @@ class Test__get_default_service_project_id(unittest2.TestCase):
187
188
def setUp(self):
189
import os
190
- from gcloud._testing import _NamedTemporaryFile
+ import tempfile
191
192
- with _NamedTemporaryFile() as temp:
193
- self.temp_config_path = os.path.dirname(temp.name)
+ self.temp_config_path = tempfile.gettempdir()
194
195
conf_path = os.path.join(self.temp_config_path, self.config_path)
196
os.makedirs(conf_path)
0 commit comments