Skip to content

Commit

Permalink
chore: Avoid unnecessary assignment before for-loop
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmckinney committed Sep 28, 2024
1 parent 70ece17 commit e4e4965
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/test_flattens.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ def setUp(self, client, upload_obj_validated):
self.client = client

def test_flatten_create_successful(self):
file_formats = ("xlsx", "csv")
for file_format in file_formats:
for file_format in ("xlsx", "csv"):
response = self.client.post(
self.flattens_url,
content_type="application/json",
Expand Down

0 comments on commit e4e4965

Please sign in to comment.