Commit 2864540
committed
Pass
This fixes two test failures under Python 3.13:
```
Failed Tests (2):
FileCheck.py integration tests :: tests/extra_features/pseudo_numeric_variables/01_line_variable_once/test.itest
FileCheck.py integration tests :: tests/extra_features/pseudo_numeric_variables/02_line_variable_twice/test.itest
```
Both are failing due to:
```
filecheck/filecheck.py:372: DeprecationWarning: 'count' is passed as positional argument
```
Passing `count` as positional argument to `re.sub()` has been deprecated
in Python 3.13: https://docs.python.org/3.13/whatsnew/3.13.html#id9
and produces a `DeprecationWarning` exception.count as keyword argument to re.sub()
1 parent 195aa15 commit 2864540
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
374 | 374 | | |
375 | 375 | | |
376 | 376 | | |
377 | | - | |
| 377 | + | |
378 | 378 | | |
379 | 379 | | |
380 | 380 | | |
| |||
0 commit comments