Skip to content

Commit

Permalink
Remove default "r" from open call
Browse files Browse the repository at this point in the history
  • Loading branch information
timj committed Jul 7, 2023
1 parent b72f5a9 commit 0f59570
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_dimensions_json.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def make_butler_v0(self) -> Config:

def load_data(self, registry: Registry, filename: str) -> None:
"""Load registry test data from filename in data folder."""
with open(os.path.join(TESTDIR, "data", filename), "r") as stream:
with open(os.path.join(TESTDIR, "data", filename)) as stream:
backend = YamlRepoImportBackend(stream, registry)
backend.register()
backend.load(datastore=None)
Expand Down

0 comments on commit 0f59570

Please sign in to comment.