1
0
mirror of https://github.com/kevin1024/vcrpy.git synced 2025-12-08 16:53:23 +00:00

Python 3: print_function

Use print function if you must print, this lets us use the
library in python 3 environments.

partial: https://github.com/kevin1024/vcrpy/issues/86
This commit is contained in:
Shawn Hartsock
2014-07-24 16:33:47 -04:00
parent c56de472cd
commit 868a974900

View File

@@ -1,3 +1,4 @@
from __future__ import print_function
from operator import itemgetter
from heapq import nlargest
from itertools import repeat, ifilter
@@ -189,5 +190,5 @@ class Counter(dict):
if __name__ == '__main__':
import doctest
print doctest.testmod()
print(doctest.testmod())