Skip to content

Commit

Permalink
MAINT: minor cleanup of old version workarounds
Browse files Browse the repository at this point in the history
  • Loading branch information
bsipocz committed Jun 29, 2023
1 parent c4f67e5 commit 1efddf1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
5 changes: 1 addition & 4 deletions pyvo/dal/tests/test_query.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,7 @@
"""
from functools import partial

try:
from contextlib import ExitStack
except ImportError:
from contextlib2 import ExitStack
from contextlib import ExitStack

from os import listdir

Expand Down
5 changes: 1 addition & 4 deletions pyvo/samp.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,7 @@
import os
import tempfile

try:
from astropy.samp import SAMPIntegratedClient
except ImportError:
from astropy.vo.samp import SAMPIntegratedClient
from astropy.samp import SAMPIntegratedClient


__all__ = [
Expand Down

0 comments on commit 1efddf1

Please sign in to comment.