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 365ae35 commit fcd634cCopy full SHA for fcd634c
videointelligence/samples/analyze/beta_snippets_test.py
@@ -14,8 +14,8 @@
14
# See the License for the specific language governing permissions and
15
# limitations under the License.
16
17
+from six.moves.urllib.request import urlopen
18
import time
-import urllib2
19
import uuid
20
21
import beta_snippets
@@ -29,7 +29,7 @@
29
30
@pytest.fixture(scope='session')
31
def video_path(tmpdir_factory):
32
- file = urllib2.urlopen(
+ file = urlopen(
33
'http://storage.googleapis.com/cloud-samples-data/video/cat.mp4')
34
path = tmpdir_factory.mktemp('video').join('file.mp4')
35
with open(str(path), 'wb') as f:
0 commit comments