Skip to content

Commit

Permalink
chore: Run pyupgrade --py37-plus **/*.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmckinney committed Jun 13, 2023
1 parent 7131969 commit 2e0d077
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 6 deletions.
1 change: 0 additions & 1 deletion agatestats/aggregations.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/usr/bin/env python

import agate
from six.moves import map


class PearsonCorrelation(agate.Aggregation):
Expand Down
3 changes: 1 addition & 2 deletions tests/test_aggregations.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/usr/bin/env python
# -*- coding: utf8 -*-

import warnings
from decimal import Decimal
Expand All @@ -19,7 +18,7 @@ def setUp(self):
self.rows = (
(1, 4, 'a'),
(2, 3, 'b'),
(None, 2, u'👍')
(None, 2, '👍')
)

self.column_names = ['one', 'two', 'three']
Expand Down
3 changes: 1 addition & 2 deletions tests/test_table.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/usr/bin/env python
# -*- coding: utf8 -*-

try:
import unittest2 as unittest
Expand All @@ -16,7 +15,7 @@ def setUp(self):
self.rows = (
(1, 4, 'a'),
(2, 3, 'b'),
(None, 2, u'👍')
(None, 2, '👍')
)

self.column_names = ['one', 'two', 'three']
Expand Down
1 change: 0 additions & 1 deletion tests/test_tableset.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/usr/bin/env python
# -*- coding: utf8 -*-

try:
import unittest2 as unittest
Expand Down

0 comments on commit 2e0d077

Please sign in to comment.