Skip to content

Commit

Permalink
Merge pull request #16 from intake/small_fix
Browse files Browse the repository at this point in the history
Just because some sources use old style discover, should pass
  • Loading branch information
martindurant committed Nov 11, 2019
2 parents e38d720 + 359b606 commit e3eab2a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions intake_parquet/__init__.py
Expand Up @@ -3,4 +3,5 @@
__version__ = get_versions()['version']
del get_versions

import intake
from intake_parquet.source import ParquetSource
3 changes: 2 additions & 1 deletion tests/test_discovery.py
Expand Up @@ -8,4 +8,5 @@ def test_discovery():
# For awhile we expect a PendingDeprecationWarning due to
# do_pacakge_scan=True. But we should *not* get a FutureWarning.
for record in record.list:
assert not isinstance(record.message, FutureWarning)
if isinstance(record.message, FutureWarning):
assert "parquet" not in str(record.message)

0 comments on commit e3eab2a

Please sign in to comment.