Skip to content

Commit 14e6ad8

Browse files
committed
Import only in test
1 parent 69e8395 commit 14e6ad8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

adaptive/tests/test_learners.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212

1313
import flaky
1414
import numpy as np
15-
import pandas
1615
import pytest
1716
import scipy.spatial
1817

@@ -721,6 +720,8 @@ def wrapper(*args, **kwargs):
721720
with_all_loss_functions=False,
722721
)
723722
def test_to_dataframe(learner_type, f, learner_kwargs):
723+
import pandas
724+
724725
if learner_type is LearnerND:
725726
kw = {"point_names": tuple("xyz")[: len(learner_kwargs["bounds"])]}
726727
else:

0 commit comments

Comments
 (0)