Skip to content

CLN: remove python2 file encodings #26196

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 24, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions pandas/tests/frame/test_asof.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# coding=utf-8

import numpy as np
import pytest

Expand Down
1 change: 0 additions & 1 deletion pandas/tests/series/indexing/test_alter_index.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# coding=utf-8
from datetime import datetime

import numpy as np
Expand Down
1 change: 0 additions & 1 deletion pandas/tests/series/indexing/test_boolean.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# coding=utf-8
import numpy as np
import pytest

Expand Down
1 change: 0 additions & 1 deletion pandas/tests/series/indexing/test_datetime.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# coding=utf-8
from datetime import datetime, timedelta

import numpy as np
Expand Down
1 change: 0 additions & 1 deletion pandas/tests/series/indexing/test_iloc.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# coding=utf-8
import numpy as np

from pandas.compat import lrange
Expand Down
1 change: 0 additions & 1 deletion pandas/tests/series/indexing/test_indexing.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# coding=utf-8
""" test get/set & misc """

from datetime import timedelta
Expand Down
1 change: 0 additions & 1 deletion pandas/tests/series/indexing/test_loc.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# coding=utf-8
import numpy as np
import pytest

Expand Down
1 change: 0 additions & 1 deletion pandas/tests/series/indexing/test_numeric.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# coding=utf-8
import numpy as np
import pytest

Expand Down
1 change: 0 additions & 1 deletion pandas/tests/series/test_alter_axes.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# coding=utf-8
from datetime import datetime

import numpy as np
Expand Down
1 change: 0 additions & 1 deletion pandas/tests/series/test_analytics.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# coding=utf-8
from itertools import product
import operator

Expand Down
1 change: 0 additions & 1 deletion pandas/tests/series/test_api.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# coding=utf-8
from collections import OrderedDict
import pydoc
import warnings
Expand Down
1 change: 0 additions & 1 deletion pandas/tests/series/test_apply.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# coding=utf-8
from collections import Counter, OrderedDict, defaultdict
from itertools import chain

Expand Down
2 changes: 0 additions & 2 deletions pandas/tests/series/test_asof.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# coding=utf-8

import numpy as np
import pytest

Expand Down
1 change: 0 additions & 1 deletion pandas/tests/series/test_combine_concat.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# coding=utf-8
from datetime import datetime

import numpy as np
Expand Down
1 change: 0 additions & 1 deletion pandas/tests/series/test_constructors.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# coding=utf-8
from collections import OrderedDict
from datetime import datetime, timedelta

Expand Down
1 change: 0 additions & 1 deletion pandas/tests/series/test_datetime_values.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# coding=utf-8
import calendar
from datetime import date, datetime, time
import locale
Expand Down
1 change: 0 additions & 1 deletion pandas/tests/series/test_dtypes.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# coding=utf-8
from datetime import datetime, timedelta
from importlib import reload
import string
Expand Down
2 changes: 0 additions & 2 deletions pandas/tests/series/test_duplicates.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# coding=utf-8

import numpy as np
import pytest

Expand Down
1 change: 0 additions & 1 deletion pandas/tests/series/test_internals.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# coding=utf-8
from datetime import datetime

import numpy as np
Expand Down
1 change: 0 additions & 1 deletion pandas/tests/series/test_io.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# coding=utf-8
import collections
from datetime import datetime
from io import StringIO
Expand Down
1 change: 0 additions & 1 deletion pandas/tests/series/test_missing.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# coding=utf-8
from datetime import datetime, timedelta

import numpy as np
Expand Down
1 change: 0 additions & 1 deletion pandas/tests/series/test_operators.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# coding=utf-8
from datetime import datetime, timedelta
import operator

Expand Down
1 change: 0 additions & 1 deletion pandas/tests/series/test_quantile.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# coding=utf-8
import numpy as np
import pytest

Expand Down
1 change: 0 additions & 1 deletion pandas/tests/series/test_replace.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# coding=utf-8
import numpy as np
import pytest

Expand Down
1 change: 0 additions & 1 deletion pandas/tests/series/test_repr.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# coding=utf-8
from datetime import datetime, timedelta

import numpy as np
Expand Down
2 changes: 0 additions & 2 deletions pandas/tests/series/test_sorting.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# coding=utf-8

import random

import numpy as np
Expand Down
1 change: 0 additions & 1 deletion pandas/tests/series/test_subclass.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# coding=utf-8
import numpy as np

import pandas as pd
Expand Down
1 change: 0 additions & 1 deletion pandas/tests/series/test_timeseries.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# coding=utf-8
from datetime import datetime, time, timedelta
from io import StringIO
from itertools import product
Expand Down