doomemacs / doomemacs/core

Conflicting bindings for nose and pytest

Open
#6,418 3 comments 2 reactions 0 assignees View on GitHub
:lang python re:keybinds
Dominant language
Emacs Lisp
Stars
22.7k
Forks
3.1k
Avg merge
10h 46m
Merged PRs (30d)
4

Description

### What did you expect to happen?

The docs for the Python module claim that ` t r` is bound to `python-pytest-repeat`.

### What actually happened?

The command is actually bound to `nosetests-again` in any Python module that starts with `test_`. It looks like there are two conflicting bindings for both functions, and nose is winning over pytest once you open a test file. The binding appears twice in the documentation, one for each function.

### Describe your attempts to resolve the issue

_No response_

### Steps to reproduce

Use ` t r` in `python-mode` on a Python file that starts with `test_`.

### System Information

https://pastebin.com/bLJfP8HM

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.