Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions video/cloud-client/analyze/beta_snippets_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.

from six.moves.urllib.request import urlopen
import time
import urllib2
import uuid

import beta_snippets
Expand All @@ -29,7 +29,7 @@

@pytest.fixture(scope='session')
def video_path(tmpdir_factory):
file = urllib2.urlopen(
file = urlopen(
'http://storage.googleapis.com/cloud-samples-data/video/cat.mp4')
path = tmpdir_factory.mktemp('video').join('file.mp4')
with open(str(path), 'wb') as f:
Expand Down