mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-10 16:47:44 +08:00
TST: overwrite_sim_params=False in tests when using list of sources
When specifying a list of sources to algorithm.py:run in a unit test, specify overwrite_sim_params=False to suppress the unnessary UserWarning.
This commit is contained in:
@@ -331,7 +331,7 @@ class TestTransformAlgorithm(TestCase):
|
||||
sim_params=sim_params,
|
||||
sids=[0, 1, 133]
|
||||
)
|
||||
algo.run([self.source, self.df_source])
|
||||
algo.run([self.source, self.df_source], overwrite_sim_params=False)
|
||||
self.assertEqual(len(algo.sources), 2)
|
||||
|
||||
def test_df_as_input(self):
|
||||
|
||||
Reference in New Issue
Block a user