Skip to content

Commit

Permalink
Rerganize variables
Browse files Browse the repository at this point in the history
note that sorting is somehow important for pytest
  • Loading branch information
gonzaponte committed May 15, 2024
1 parent 77aa3af commit ee56ff1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions invisible_cities/cities/cities_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@

from .. core.configure import configure

online_cities = "irene dorothea sophronia esmeralda beersheba".split()
all_cities_with_event_range = online_cities + """
berenice buffy detsim diomira hypathia isaura isidora phyllis trude
""".split()
all_cities = sorted(all_cities_with_event_range + ["eutropia"])
online_cities = "irene dorothea sophronia esmeralda beersheba isaura".split()
mc_cities = "buffy detsim diomira hypathia".split()
other_cities = "berenice isidora phyllis trude eutropia".split()
all_cities = sorted(online_cities + mc_cities + other_cities)
all_cities_with_event_range = sorted(set(all_cities).difference(set(["eutropia"])))


@mark.filterwarnings("ignore::UserWarning")
Expand Down

0 comments on commit ee56ff1

Please sign in to comment.