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:
@@ -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())
|
||||
|
||||
|
||||
Reference in New Issue
Block a user