Fixes
This commit is contained in:
parent
5cb32d1aa0
commit
023285f6ab
@ -1,6 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<project version="4">
|
|
||||||
<component name="VcsDirectoryMappings">
|
|
||||||
<mapping directory="" vcs="Git" />
|
|
||||||
</component>
|
|
||||||
</project>
|
|
@ -251,7 +251,7 @@ E44 - E48 - po jedno dla każdego
|
|||||||
|
|
||||||
## Zajęcia 5 11.12.2023 Wyrażenia regularne 3
|
## Zajęcia 5 11.12.2023 Wyrażenia regularne 3
|
||||||
|
|
||||||
F00-F05 - po jedno dla każdego
|
F00 - F05 - do wykonania przez każdego
|
||||||
|
|
||||||
Proszę o przekopiowanie sobie pliku polish_wiki_excerpt.in z zadania F00 do katalogów z pozostałymi zadaniami
|
Proszę o przekopiowanie sobie pliku polish_wiki_excerpt.in z zadania F00 do katalogów z pozostałymi zadaniami
|
||||||
|
|
||||||
|
@ -41,7 +41,7 @@ def get_index():
|
|||||||
|
|
||||||
def is_task_set_correct(dir, task_set):
|
def is_task_set_correct(dir, task_set):
|
||||||
try:
|
try:
|
||||||
with open(Path(dir, f'{task_set}.out')) as f_out, open(Path(dir, f'{task_set}.exp')) as f_exp:
|
with open(Path(dir, f'{task_set}.out'),encoding='utf-8') as f_out, open(Path(dir, f'{task_set}.exp'),encoding='utf-8') as f_exp:
|
||||||
f_out_lines = ''.join(f_out.readlines())
|
f_out_lines = ''.join(f_out.readlines())
|
||||||
f_exp_lines = ''.join(f_exp.readlines())
|
f_exp_lines = ''.join(f_exp.readlines())
|
||||||
return f_out_lines == f_exp_lines
|
return f_out_lines == f_exp_lines
|
||||||
|
Loading…
Reference in New Issue
Block a user