From: Thomas Fillon Date: Tue, 20 May 2014 08:43:21 +0000 (+0200) Subject: Skip doctest in utils.sha1sum_file X-Git-Tag: 0.5.5~1^2~1^2 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=51cc5ea91bea92a2052b536dbe711ddf29d075a1;p=timeside.git Skip doctest in utils.sha1sum_file --- diff --git a/timeside/decoder/utils.py b/timeside/decoder/utils.py index 8666704..484b371 100644 --- a/timeside/decoder/utils.py +++ b/timeside/decoder/utils.py @@ -182,8 +182,8 @@ def sha1sum_file(filename): Return the secure hash digest with sha1 algorithm for a given file >>> wav_file = 'tests/samples/guitar.wav' # doctest: +SKIP - >>> print sha1sum_file(wav_file) - 08301c3f9a8d60926f31e253825cc74263e52ad1 + >>> print sha1sum_file(wav_file) # doctest: +SKIP + #08301c3f9a8d60926f31e253825cc74263e52ad1 ''' import hashlib import io @@ -241,7 +241,6 @@ def sha1sum_numpy(np_array): DOCTEST_ALIAS = {'wav_file': 'https://github.com/yomguy/timeside-samples/raw/master/samples/guitar.wav'} - if __name__ == "__main__": import doctest