From 51cc5ea91bea92a2052b536dbe711ddf29d075a1 Mon Sep 17 00:00:00 2001 From: Thomas Fillon Date: Tue, 20 May 2014 10:43:21 +0200 Subject: [PATCH] Skip doctest in utils.sha1sum_file --- timeside/decoder/utils.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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 -- 2.39.5