diff options
author | pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> | 2022-11-29 14:57:23 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-29 14:57:23 +0100 |
commit | 2fae0378213d53ab170347c1c9d6af9a6102a24c (patch) | |
tree | 23095032cd6336c668162aa3809d2dc7b6c2e6f6 /pyfakefs | |
parent | be3374c76677caf7c9dffd7dd7d3b72148c9480b (diff) | |
download | pyfakefs-2fae0378213d53ab170347c1c9d6af9a6102a24c.tar.gz |
[pre-commit.ci] pre-commit autoupdate (#753)
* [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/pre-commit/pre-commit-hooks: v4.3.0 → v4.4.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.3.0...v4.4.0)
- [github.com/PyCQA/autoflake: v1.7.7 → v2.0.0](https://github.com/PyCQA/autoflake/compare/v1.7.7...v2.0.0)
- [github.com/PyCQA/flake8: 5.0.4 → 6.0.0](https://github.com/PyCQA/flake8/compare/5.0.4...6.0.0)
* Fix flake8 warning
Co-authored-by: mrbean-bremen <mrbean-bremen@users.noreply.github.com>
Diffstat (limited to 'pyfakefs')
-rw-r--r-- | pyfakefs/tests/fake_filesystem_test.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pyfakefs/tests/fake_filesystem_test.py b/pyfakefs/tests/fake_filesystem_test.py index 0b35adf..071cadb 100644 --- a/pyfakefs/tests/fake_filesystem_test.py +++ b/pyfakefs/tests/fake_filesystem_test.py @@ -869,7 +869,7 @@ class OsPathInjectionRegressionTest(TestCase): ("/x/po", [], ["control", "experiment"]), ] # as the result is unsorted, we have to check against sorted results - result = sorted([step for step in self.os.walk("/")], key=lambda l: l[0]) + result = sorted([step for step in self.os.walk("/")], key=lambda v: v[0]) self.assertEqual(len(expected), len(result)) for entry, expected_entry in zip(result, expected): self.assertEqual(expected_entry[0], entry[0]) |