mirror of
https://github.com/jupyter/notebook.git
synced 2024-12-21 04:10:17 +08:00
Merge pull request #5805 from rahulporuri/cln/remove-unnecessary-future-imports
Remove unnecessary future imports
This commit is contained in:
commit
158cc007e8
@ -1,4 +1,3 @@
|
||||
from __future__ import absolute_import
|
||||
|
||||
if __name__ == '__main__':
|
||||
from notebook import notebookapp as app
|
||||
|
@ -5,8 +5,6 @@ Utilities for getting information about Jupyter and the system it's running in.
|
||||
# Copyright (c) Jupyter Development Team.
|
||||
# Distributed under the terms of the Modified BSD License.
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import os
|
||||
import platform
|
||||
import pprint
|
||||
|
@ -7,8 +7,6 @@ test suite.
|
||||
# Copyright (c) Jupyter Development Team.
|
||||
# Distributed under the terms of the Modified BSD License.
|
||||
|
||||
from __future__ import absolute_import, print_function
|
||||
|
||||
import argparse
|
||||
import json
|
||||
import multiprocessing.pool
|
||||
|
@ -3,8 +3,6 @@
|
||||
# Copyright (c) Jupyter Development Team.
|
||||
# Distributed under the terms of the Modified BSD License.
|
||||
|
||||
from __future__ import print_function
|
||||
|
||||
import os
|
||||
import shutil
|
||||
import sys
|
||||
|
@ -3,8 +3,6 @@
|
||||
# Copyright (c) Jupyter Development Team.
|
||||
# Distributed under the terms of the Modified BSD License.
|
||||
|
||||
from __future__ import absolute_import, print_function
|
||||
|
||||
import notebook
|
||||
import asyncio
|
||||
import binascii
|
||||
|
@ -3,8 +3,6 @@
|
||||
# Copyright (c) Jupyter Development Team.
|
||||
# Distributed under the terms of the Modified BSD License.
|
||||
|
||||
from __future__ import print_function
|
||||
|
||||
import importlib
|
||||
import sys
|
||||
|
||||
|
@ -1,5 +1,4 @@
|
||||
"""Tests for the notebook manager."""
|
||||
from __future__ import print_function
|
||||
|
||||
import os
|
||||
import sys
|
||||
|
@ -1,7 +1,5 @@
|
||||
"""Base class for notebook tests."""
|
||||
|
||||
from __future__ import print_function
|
||||
|
||||
from binascii import hexlify
|
||||
from contextlib import contextmanager
|
||||
import errno
|
||||
|
@ -44,7 +44,6 @@ casper.notebook_test(function () {
|
||||
IPython.notebook.insert_cell_at_index("code", 0);
|
||||
var cell = IPython.notebook.get_cell(0);
|
||||
cell.set_text([
|
||||
"from __future__ import print_function",
|
||||
"import sys",
|
||||
"from IPython.display import display, clear_output"
|
||||
].join("\n")
|
||||
|
@ -3,8 +3,6 @@
|
||||
# Copyright (c) Jupyter Development Team.
|
||||
# Distributed under the terms of the Modified BSD License.
|
||||
|
||||
from __future__ import print_function
|
||||
|
||||
import asyncio
|
||||
import concurrent.futures
|
||||
import ctypes
|
||||
|
@ -10,8 +10,6 @@ This includes:
|
||||
# Copyright (c) IPython Development Team.
|
||||
# Distributed under the terms of the Modified BSD License.
|
||||
|
||||
from __future__ import print_function
|
||||
|
||||
import os
|
||||
import re
|
||||
import pipes
|
||||
|
Loading…
Reference in New Issue
Block a user