Skip to content

Commit

Permalink
Pyupgrades: remove 'r' from open(json)
Browse files Browse the repository at this point in the history
  • Loading branch information
JorisVincent committed Mar 13, 2023
1 parent 34cecaf commit c2bfe08
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion tests/papers/test_RHS2007.py
Expand Up @@ -9,7 +9,7 @@

data_dir = os.path.dirname(__file__)
jsonfile = os.path.join(data_dir, "RHS2007.json")
loaded = json.load(open(jsonfile, "r"))
loaded = json.load(open(jsonfile))


@pytest.mark.parametrize("stim_name", stimlist)
Expand Down
2 changes: 1 addition & 1 deletion tests/papers/test_carney1999.py
Expand Up @@ -9,7 +9,7 @@

data_dir = os.path.dirname(__file__)
jsonfile = os.path.join(data_dir, "carney1999.json")
loaded = json.load(open(jsonfile, "r"))
loaded = json.load(open(jsonfile))


@pytest.mark.parametrize("stim_name", stimlist)
Expand Down
2 changes: 1 addition & 1 deletion tests/papers/test_domijan2015.py
Expand Up @@ -11,7 +11,7 @@

data_dir = os.path.dirname(__file__)
jsonfile = os.path.join(data_dir, "domijan2015.json")
loaded = json.load(open(jsonfile, "r"))
loaded = json.load(open(jsonfile))


@pytest.mark.parametrize("stim_name", stimlist)
Expand Down
2 changes: 1 addition & 1 deletion tests/papers/test_murray2020.py
Expand Up @@ -9,7 +9,7 @@

data_dir = os.path.dirname(__file__)
jsonfile = os.path.join(data_dir, "murray2020.json")
loaded = json.load(open(jsonfile, "r"))
loaded = json.load(open(jsonfile))


@pytest.mark.parametrize("stim_name", stimlist)
Expand Down
2 changes: 1 addition & 1 deletion tests/papers/test_white1981.py
Expand Up @@ -9,7 +9,7 @@

data_dir = os.path.dirname(__file__)
jsonfile = os.path.join(data_dir, "white1981.json")
loaded = json.load(open(jsonfile, "r"))
loaded = json.load(open(jsonfile))


@pytest.mark.parametrize("stim_name", stimlist)
Expand Down
2 changes: 1 addition & 1 deletion tests/papers/test_white1985.py
Expand Up @@ -9,7 +9,7 @@

data_dir = os.path.dirname(__file__)
jsonfile = os.path.join(data_dir, "white1985.json")
loaded = json.load(open(jsonfile, "r"))
loaded = json.load(open(jsonfile))


@pytest.mark.parametrize("stim_name", stimlist)
Expand Down

0 comments on commit c2bfe08

Please sign in to comment.