File: basic_text.out

package info (click to toggle)
python-friendly 0.7.21%2Bgit20230418.fe5d3a2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,268 kB
  • sloc: python: 2,291; makefile: 6
file content (25 lines) | stat: -rw-r--r-- 4,665 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25

┌───────────────────────────────── Traceback ─────────────────────────────────┐
│ Traceback (most recent call last):                                          │
│   File "HOME:\github\friendly\tests\test_simple.py", line 11, in test_basic │
│     a = b                                                                   │
│ NameError: name 'b' is not defined                                          │
│                                                                             │
│ A NameError exception indicates that a variable or function name is not     │
│ known to Python. Most often, this is because there is a spelling mistake.   │
│ However, sometimes it is because the name is used before being defined or   │
│ given a value.                                                              │
│                                                                             │
│ In your program, no object with the name b exists. I have no additional     │
│ information for you.                                                        │
│                                                                             │
│ Exception raised on line 11 of file                                         │
│ 'HOME:\github\friendly\tests\test_simple.py'.                               │
│                                                                             │
│         8| console = session.console                                        │
│         9| with console.capture() as capture:                               │
│        10|     try:                                                         │
│      > 11|         a = b                                                    │
│        12|     except NameError:                                            │
└─────────────────────────────────────────────────────────────────────────────┘