Skip to content
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

remove six dependency #155

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
3 changes: 1 addition & 2 deletions pysynphot/locations.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@
directory shortcuts to actual paths.

"""
from __future__ import division, print_function
from six.moves.urllib import request
from urllib import request

import fnmatch
import glob
Expand Down
5 changes: 1 addition & 4 deletions pysynphot/test/test_ticket163.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
from __future__ import absolute_import, division, print_function
from six import iteritems

import os

import pytest
Expand Down Expand Up @@ -33,7 +30,7 @@ def test_header(self):
assert 'G15.7' == self.h1['tdisp1'].strip().upper()

def test_keys(self):
for k, v in iteritems(self.keys):
for k, v in self.keys.items():
assert self.h0[k] == v[0]


Expand Down
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
'astropy',
'numpy<2',
'beautifulsoup4',
'six'
],
tests_require=['pytest', 'pytest-remotedata'],
packages=['pysynphot',
Expand Down
Loading