Closed armanschwarz closed 2 years ago
I have a test file called test_mytest.py with the following contents:
test_mytest.py
3 import unittest 2 1 ✖ 4 class MyTest(unittest.TestCase): ✔ 1 def test_my_test_case(self) -> None: 2 self.assertTrue(True) 3 ✖ 4 def test_my_test_case2(self) -> None: E 5 self.assertTrue(True) ■ Traceback (most recent call last): File "/root/host/test/test_mytest.py", line 9, in test_my_test_case2 self.assertTrue(False) AssertionError: False is not true
However, when I open the summary window with :lua require("neotest").summary.toggle() the failed test shows up with a question mark (?):
:lua require("neotest").summary.toggle()
neotest-python ├─ ? .local ├─ ? .vim ╰╮ ? test ╰╮ ? test_mytest.py ╰╮ ? MyTest ├─ ✔ test_my_test_case ╰─ ? test_my_test_case2
I'm using the CaskaydiaCove NF font through Windows Terminal. I'm fairly sure this isn't a font issue since I tried CodeNewRoman NF and it was the same. Besides, the tick and cross both work fine in the code window.
CaskaydiaCove NF
CodeNewRoman NF
I can't reproduce this anymore... Will reopen if it happens again. Sorry.
I have a test file called
test_mytest.py
with the following contents:However, when I open the summary window with
:lua require("neotest").summary.toggle()
the failed test shows up with a question mark (?):I'm using the
CaskaydiaCove NF
font through Windows Terminal. I'm fairly sure this isn't a font issue since I triedCodeNewRoman NF
and it was the same. Besides, the tick and cross both work fine in the code window.