Skip to content

Commit fd63224

Browse files
committed
fix importorskip
1 parent 3bd76d4 commit fd63224

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/integrations/gcp/test_gcp.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
import os.path
1313
import os
1414

15-
pytest.importorskip("tempfile.TemporaryDirectory")
15+
if not hasattr(tempfile, "TemporaryDirectory"):
16+
pytest.skip("Not running on Python 3.2+")
1617

1718

1819
FUNCTIONS_PRELUDE = """

0 commit comments

Comments
 (0)