Skip to content

Commit

Permalink
undo .at to .loc with noqa
Browse files Browse the repository at this point in the history
  • Loading branch information
freddyheppell committed Jul 2, 2024
1 parent 87fff65 commit e6f47a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/extractors/test_posts.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ def test_translations_bidirectional(posts_df_and_registry):
posts_df, registry = posts_df_and_registry
posts_df = resolve_post_translations(registry, posts_df)
# Currently 1 <-> 2, let's remove 1 <- 2
posts_df.loc[2, "translations"] = []
posts_df.at[2, "translations"] = [] # noqa: PD008

posts_df = ensure_translations_undirected(posts_df)

Expand Down

0 comments on commit e6f47a5

Please sign in to comment.