File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 22from itertools import chain , permutations
33from pathlib import Path
44
5- import pandas as pd
65import duckdb
76import numpy as np
7+ import pandas as pd
88import toml
99import xarray as xr
1010from pytest import fixture , mark , raises
@@ -329,10 +329,11 @@ def default_new_input(tmp_path):
329329
330330@fixture
331331def con ():
332- from muse .new_input .readers import TableBase
333332 from sqlalchemy import create_engine
334333 from sqlalchemy .orm import Session
335334
335+ from muse .new_input .readers import TableBase
336+
336337 engine = create_engine ("duckdb:///:memory:" )
337338 session = Session (engine )
338339 TableBase .metadata .create_all (engine )
@@ -470,6 +471,7 @@ def test_new_read_demand_csv_primary_key_constraint(
470471@mark .xfail
471472def test_demand_dataset (default_new_input ):
472473 import duckdb
474+
473475 from muse .new_input .readers import read_commodities , read_demand , read_regions
474476
475477 con = duckdb .connect (":memory:" )
@@ -510,3 +512,4 @@ def test_new_read_initial_market(default_new_input):
510512 exports = np .float64 ,
511513 imports = np .float64 ,
512514 static_trade = np .float64 ,
515+ )
You can’t perform that action at this time.
0 commit comments