You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Fix iterator protocol: def next() → def __next__() in Peekable class
- Fix iterator calls: it.next() → next(it) throughout codebase
- Fix map() iterator: yield map() → yield list(map()) in group_continuous
- Fix dictionary methods: .iteritems() → .items() in doctests
- Fix function names in doctests to match actual definitions
- Migrate testing framework: nose → pytest (Python 3.12 compatible)
- Update requirements.txt with pytest 8.3.3 and pytest-cov 6.0.0
- Update Makefile to use pytest --doctest-modules
These fixes complete the Python 3.12 migration on top of PR idank#330.
All 12 tests now passing (100% success rate).
Test results:
- explainshell/algo/features.py: 1 passed
- explainshell/fixer.py: 1 passed
- explainshell/manpage.py: 3 passed
- explainshell/options.py: 3 passed
- explainshell/util.py: 3 passed
- explainshell/web/views.py: 1 passed
Total: 12 passed in 0.37s
Database integration verified with 72,349 documents.
Full functionality tested with ls, grep, and tar commands.
Copy file name to clipboardExpand all lines: COMMUNITY_INTEGRATION.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -161,4 +161,4 @@ Same as the original project (GPL-3.0)
161
161
162
162
---
163
163
164
-
**Note to maintainer**: This is meant to be helpful, not to pressure or criticize. The original project is fantastic! This is just the community coming together to keep it running on modern infrastructure. If you'd like to merge these changes, they're ready. If not, this fork exists for those who need it. Thank you for creating such a useful tool! 🙏
164
+
-**Note to maintainer**: This is meant to be helpful, not to pressure or criticize. The original project is fantastic! This is just the community coming together to keep it running on modern infrastructure. If you'd like to merge these changes, they're ready. If not, this fork exists for those who need it. Thank you for creating such a useful tool! 🙏
0 commit comments