Add missing future imports for print_function

There are some places where `print()` is used to print a blank line.
However, unless the future feature `print_function` is imported,
that will print `()` in Python 2.
This commit is contained in:
nyuszika7h 2015-06-12 22:22:16 +02:00
parent 8b401249b8
commit 9f059b91ba
4 changed files with 8 additions and 0 deletions

View File

@ -28,6 +28,8 @@
# POSSIBILITY OF SUCH DAMAGE.
###
from __future__ import print_function
from supybot.test import *
class MathTestCase(PluginTestCase):

View File

@ -27,6 +27,8 @@
# POSSIBILITY OF SUCH DAMAGE.
###
from __future__ import print_function
import time
from supybot.test import *

View File

@ -30,6 +30,8 @@
# POSSIBILITY OF SUCH DAMAGE.
###
from __future__ import print_function
import supybot
import os

View File

@ -30,6 +30,8 @@
# POSSIBILITY OF SUCH DAMAGE.
###
from __future__ import print_function
import os
import sys