Skip to content

Commit 818d75a

Browse files
authored
Merge pull request #3 from PythonIreland/allynh_pytest_initial
Adding pytests to requirements.txt
2 parents 30eb2c3 + 24361bf commit 818d75a

2 files changed

Lines changed: 17 additions & 2 deletions

File tree

requirements.txt

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
astroid==4.0.2
2+
dill==0.4.0
3+
iniconfig==2.3.0
4+
isort==7.0.0
5+
mccabe==0.7.0
6+
mypy==1.18.2
7+
mypy-extensions==1.1.0
8+
packaging==25.0
9+
pathspec==0.12.1
10+
platformdirs==4.5.0
11+
pluggy==1.6.0
12+
pygments==2.19.2
13+
pylint==4.0.3
14+
pytest==9.0.1
15+
tomlkit==0.13.3
16+
typing-extensions==4.15.0

tests/test_csv.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ def count_columns(file_name: Path) -> None:
1010

1111
with open(file_name, mode="r", encoding="utf-8") as my_file:
1212
for line in my_file:
13-
13+
1414
# All lines must match the header of the file:
1515
if first_line:
1616
first_line = False
@@ -32,4 +32,3 @@ def test_column_count() -> None:
3232
csv_realpath: Path = Path(f"{cwd}/pycons/2025/resources.csv")
3333
print(f"Testing file: {csv_realpath}")
3434
count_columns(csv_realpath)
35-

0 commit comments

Comments
 (0)