Skip to content

Commit

Permalink
sometimes tempfile.tempdir is None, so use tempfile.gettempdir() func…
Browse files Browse the repository at this point in the history
…tion instead (Zulko#633)

* add scipy for py2.7 on travis-ci

* add tests for ffmeg_parse_infos

* put communicate back in

* fix syntax error

* Update test_misc.py

* add scroll test

* remove issue 527/528, this is in another PR

* add tests for colorx, fadein, fadeout

* fix: cv2.CV_AA does not exist error in cv2 version 3

* add headblur example, add opencv dependency

* openvcv only supports 2.7 and 3.4+

* add Exception to ImageSequenceClip when sizes do not match

* add test for ImageSequenceClip

* fix test mains

* fix copy error

* add ImageSequenceClip exception test

* add second image to ImageSequenceClip test

* sometimes tempfile.tempdir is null, so use gettempdir function instead
  • Loading branch information
bearney74 authored Aug 16, 2017
1 parent 02fc129 commit a7f44df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

TRAVIS = os.getenv("TRAVIS_PYTHON_VERSION") is not None
PYTHON_VERSION = "%s.%s" % (sys.version_info.major, sys.version_info.minor)
TMP_DIR = tempfile.tempdir
TMP_DIR = tempfile.gettempdir() # because tempfile.tempdir is sometimes None

# Arbitrary font used in caption testing.
if sys.platform in ("win32", "cygwin"):
Expand Down

0 comments on commit a7f44df

Please sign in to comment.