Skip to content

Commit

Permalink
Removing unnecessary code and fixed wrong path
Browse files Browse the repository at this point in the history
  • Loading branch information
YHordijk committed Sep 16, 2023
1 parent 0597af0 commit dc51980
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions test/test_input_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,7 @@


def test_reading() -> None:
input_dir = j('..', 'test', 'fixtures', 'input_files')
input_dir = j('test', 'fixtures', 'input_files')
for file in os.listdir(input_dir):
with open(j(input_dir, file)) as inp:
sett = results.ams.get_ams_input(inp.read())

Check failure on line 12 in test/test_input_reader.py

View workflow job for this annotation

GitHub Actions / build (3.7)

Ruff (F841)

test/test_input_reader.py:12:13: F841 Local variable `sett` is assigned to but never used

Check failure on line 12 in test/test_input_reader.py

View workflow job for this annotation

GitHub Actions / build (3.8)

Ruff (F841)

test/test_input_reader.py:12:13: F841 Local variable `sett` is assigned to but never used

Check failure on line 12 in test/test_input_reader.py

View workflow job for this annotation

GitHub Actions / build (3.10)

Ruff (F841)

test/test_input_reader.py:12:13: F841 Local variable `sett` is assigned to but never used

Check failure on line 12 in test/test_input_reader.py

View workflow job for this annotation

GitHub Actions / build (3.11)

Ruff (F841)

test/test_input_reader.py:12:13: F841 Local variable `sett` is assigned to but never used
pprint(sett)


if __name__ == '__main__':
test_reading()

0 comments on commit dc51980

Please sign in to comment.