zerver/tests: Remove print_function.

This commit is contained in:
rht
2017-09-27 12:26:45 +02:00
committed by Tim Abbott
parent b8aa92194c
commit 26f5d9a32c
28 changed files with 0 additions and 28 deletions

View File

@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
from __future__ import print_function
from zerver.lib.alert_words import ( from zerver.lib.alert_words import (
add_user_alert_words, add_user_alert_words,

View File

@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
from __future__ import print_function
import mock import mock

View File

@@ -1,4 +1,3 @@
from __future__ import print_function
import filecmp import filecmp
import os import os

View File

@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
from __future__ import print_function
from django.conf import settings from django.conf import settings
from django.test import TestCase, override_settings from django.test import TestCase, override_settings

View File

@@ -1,4 +1,3 @@
from __future__ import print_function
from zerver.lib.test_classes import ZulipTestCase from zerver.lib.test_classes import ZulipTestCase

View File

@@ -1,7 +1,6 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# See http://zulip.readthedocs.io/en/latest/events-system.html for # See http://zulip.readthedocs.io/en/latest/events-system.html for
# high-level documentation on how this system works. # high-level documentation on how this system works.
from __future__ import print_function
from typing import Any, Callable, Dict, List, Optional, Union, Text, Tuple from typing import Any, Callable, Dict, List, Optional, Union, Text, Tuple
import os import os
import shutil import shutil

View File

@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
from __future__ import print_function
from django.conf import settings from django.conf import settings
from django.test import TestCase from django.test import TestCase

View File

@@ -1,4 +1,3 @@
from __future__ import print_function
import datetime import datetime
import os import os

View File

@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
from __future__ import print_function
import mock import mock
import ujson import ujson

View File

@@ -1,4 +1,3 @@
from __future__ import print_function
from django.test import TestCase from django.test import TestCase

View File

@@ -1,4 +1,3 @@
from __future__ import print_function
import ujson import ujson

View File

@@ -1,7 +1,6 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
from __future__ import print_function
from django.db import connection from django.db import connection
from django.test import override_settings from django.test import override_settings
from sqlalchemy.sql import ( from sqlalchemy.sql import (

View File

@@ -1,4 +1,3 @@
from __future__ import print_function
import os import os
import random import random

View File

@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
from __future__ import print_function
from typing import Any from typing import Any
import mock import mock

View File

@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
from __future__ import print_function
import logging import logging
import mock import mock

View File

@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
from __future__ import print_function
from django.http import HttpResponse from django.http import HttpResponse
from django.utils.timezone import now as timezone_now from django.utils.timezone import now as timezone_now

View File

@@ -1,4 +1,3 @@
from __future__ import print_function
import itertools import itertools
import requests import requests

View File

@@ -1,4 +1,3 @@
from __future__ import print_function
import os import os
import time import time

View File

@@ -1,4 +1,3 @@
from __future__ import print_function
import datetime import datetime
import ujson import ujson

View File

@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
from __future__ import print_function
from typing import Any, Callable, Dict, Iterable, List, Tuple from typing import Any, Callable, Dict, Iterable, List, Tuple

View File

@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
from __future__ import print_function
import mock import mock
from typing import Any, Union, Mapping, Callable from typing import Any, Union, Mapping, Callable

View File

@@ -1,4 +1,3 @@
from __future__ import print_function
import ujson import ujson

View File

@@ -5,7 +5,6 @@ and Django test systems. It require to use decorator '@gen.coroutine'
for each test case method( see documentation: http://www.tornadoweb.org/en/stable/testing.html). for each test case method( see documentation: http://www.tornadoweb.org/en/stable/testing.html).
It requires implementation of 'get_app' method to initialize tornado application and launch it. It requires implementation of 'get_app' method to initialize tornado application and launch it.
""" """
from __future__ import print_function
import time import time

View File

@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
from __future__ import print_function
from typing import Any, Dict from typing import Any, Dict

View File

@@ -1,4 +1,3 @@
from __future__ import print_function
import sys import sys
from unittest import TestCase from unittest import TestCase

View File

@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
from __future__ import print_function
import importlib import importlib
import os import os

View File

@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
from __future__ import print_function
from typing import (Any, Dict, Iterable, List, Mapping, from typing import (Any, Dict, Iterable, List, Mapping,
Optional, TypeVar, Text, Union) Optional, TypeVar, Text, Union)

View File

@@ -1,4 +1,3 @@
from __future__ import print_function
import ujson import ujson